Skip to content

Conversation

@google-labs-jules
Copy link

Implemented a role-based filtering system for the portfolio and printable CV. This allows the user to generate tailored resumes by appending a query parameter (e.g., ?role=DevOps or ?role=do).

Key changes:

  1. Shared Logic: Created assets/js/cv-utils.js to manage role aliases and URL parsing, used by both the main site and the print view.
  2. Portfolio (index.html): Added a role filter UI component. When "All" is selected, highlights are tagged with their category. When a specific role is selected, only relevant highlights are shown, and tags are hidden.
  3. CV Print View (views/cv.html): Now respects the ?role= parameter to filter content for printing. Improved CSS for better mobile rendering.
  4. Data Structure: Leveraged the categorized_highlights field in cv.json to organize achievements.

Refactor:

  • Refactored index.html data loading to cache cv.json response, improving performance when switching filters.

PR created automatically by Jules for task 2576241522441209459 started by @Romerolweb

- Introduce `?role=` query parameter to filter work highlights by category (e.g., DevOps, Software Engineer).
- Update `index.html` to support role selection via UI and URL, displaying category tags when viewing all roles.
- Update `views/cv.html` to generate role-specific printable resumes.
- Create `assets/js/cv-utils.js` for shared logic and role alias mapping.
- Update `README.md` with usage instructions and data structure documentation.
- Improve mobile responsiveness for CV view.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant