feat(workload-card): recently-added projects quick-add + flexible card width#210
Merged
Merged
Conversation
Edit Card modal: add a 'Recently Added Projects' panel under the Project dropdown (EmployeeWorkloadReportCard only). It lists active projects created within the app's ~2-day 'new' window β mirroring the project sidebar's green left-border rule (organisms/Item) β that are not already on the card, each with a checkbox. Ticking one toggles it into the existing selectedProjects array, so Save persists it through the current path. New component RecentlyAddedProjects.vue; no backend/schema changes. Card resize: lower EmployeeWorkloadReportCard grid minW 6 -> 3 so it can shrink below half-page width, matching the other cards. getCardsComponentsSize() is re-applied over saved positions on dashboard load, so the existing card picks this up with no migration. i18n: add recently_added_projects / _hint / new_badge keys to en.js (fallbackLocale: en covers other locales). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the βοΈ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
β¨ Finishing Touchesπ§ͺ Generate unit tests (beta)
Comment |
parth0025
added a commit
to joshishiv4/AlianHub
that referenced
this pull request
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two enhancements to the Employee Workload ("Live Work") dashboard card:
minW: 6). Lowered tominW: 3, matching every other card, so it can be shrunk.Details
RecentlyAddedProjects.vue. The "new" rule mirrorsorganisms/Itemexactly (createdAtafter midnight two days ago) and is tolerant of thecreatedAtshapes used in this codebase (ISO string / ms /{ seconds }).CardFieldComponent.vuereuses the existingselectedProjectsref and the existing Save path β no change to load/save logic, the Project dropdown, or any other card.minWlives ingetCardsComponentsSize(), whichHomePage.vuere-applies over each card's saved position on load β so the existing card picks up the new minimum with no data migration.en.js(fallbackLocale: encovers the other locales).Scope / safety
EmployeeWorkloadReportCard; other cards are untouched.vue-cli-service lintpasses on all changed files.How to test
π€ Generated with Claude Code