Skip to content

[BUG]: Resume Section Order Sync Mismatch in Preview and PDF Export #135

Description

@Gautam25Raj

Affected Apps / Packages

Studio (apps/studio)

Description

In the Resume Editor, users can reorder resume sections (e.g., moving "Skills" above "Experience") using the arrow buttons under "Section visibility". While this action successfully updates the order property in the store state array, it has absolutely no effect on the rendering in the Editor Preview canvas or in the exported PDF document. Both continue to render sections in a hardcoded static sequence.

Steps to Reproduce

  1. Open any resume in the Studio Editor.
  2. Go to the "Style settings" panel on the right.
  3. Scroll to "Section visibility".
  4. Click the up arrow next to "Skills" to move it above "Experience".
  5. Notice that the preview canvas on the screen does not update to reflect the change.
  6. Click "Export PDF" and open the generated document. The section order is still incorrect.

Expected Behavior

The sections in both the web preview and the exported PDF must render dynamically, ordered according to the ascending sequence of the order property inside the resume.sections state array.

Environment Information

  • OS: All (Windows, macOS, Linux)
  • Browser: Chrome, Firefox, Safari
  • Node.js: 20+

Relevant Logs

No response

Proposed Fix / Suggestions

  1. Edit apps/studio/templates/resume/executive-clarity/web.tsx and apps/studio/templates/resume/precision-ats/web.tsx.
  2. Retrieve the active sections list, filter out basics and links (which remain fixed at the top), and sort them by order.
  3. Map over the sorted array and render the components dynamically:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions