Skip to content

feat(projects): add favorites to the projects list in the sidebar - #273

Closed
artempartos wants to merge 1 commit into
developfrom
feature/1882_add-favorite-projects
Closed

artempartos wants to merge 1 commit into
developfrom
feature/1882_add-favorite-projects

Conversation

@artempartos

Copy link
Copy Markdown
Contributor

Summary

Add favorite projects to the sidebar project list.

Relocated from palad-ai/palad-app#647 (@Evgeniy-DB) — that repo is deploy-only; work lands here. The commit is the original, cherry-picked onto AixleHQ/flow develop, minus a stray db/schema.rb rewrite of the valid_session_scope_limit check constraint (a local db:migrate artifact with no migration behind it, which breaks SchemaParityTest on CI).

The project_favorites table, model and Project.favorites_first_for scope are already on develop; this PR is the sidebar UI on top of them.

Related issues

#1882

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / chore
  • Breaking change

How was this tested?

AppSidebar.test.tsx, WorkflowCatalog/IndexPage.test.tsx, and the projects/workflow-catalog render tests were updated with the change. The full make check_all has not been run on this rebuilt branch yet — CI on this PR is the first full run.

Checklist

  • I read CONTRIBUTING.md.
  • make check_all passes locally (tests, rubocop, brakeman, eslint, typescript).
  • I added/updated tests where it makes sense.
  • I updated documentation where it makes sense.
  • My commits use clear, descriptive messages.

🤖 Generated with Claude Code

(cherry picked from commit a98c513)
Signed-off-by: Artem Petrov <[email protected]>
NOX73 added a commit that referenced this pull request Nov 24, 2026
* docs(sessions): tech design for one session lifecycle service (#273)

Signed-off-by: Alex <[email protected]>

* Revise session lifecycle design after review decision

Signed-off-by: Alex <[email protected]>
(cherry picked from commit 5ef7d5f)
Signed-off-by: Alex <[email protected]>

---------

Signed-off-by: Alex <[email protected]>
Co-authored-by: Alex <[email protected]>
aixle-com Bot pushed a commit that referenced this pull request Nov 24, 2026
…nge (#273) (#872)

* refactor(sessions): one lifecycle service for every session state change

Add Sessions::Lifecycle as the only code that fires TerminalSession events,
four machine events for the moves finalize_session wrote past the machine,
and route every caller (admission service, strategies, cleanup, suspension,
runners) through it. Effects stay in the model callbacks (change 4, #283).

Signed-off-by: Alex <[email protected]>

* test(sessions): assert a nil error message with assert_nil

Signed-off-by: Alex <[email protected]>

* fix(sessions): finalize makes no move for suspended and restored sessions

Signed-off-by: Alex <[email protected]>

---------

Signed-off-by: Alex <[email protected]>
Co-authored-by: Alex <[email protected]>
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.

2 participants