Skip to content

Conversation

mkczarkowski
Copy link
Collaborator

Summary

  • add a reusable useKeyboardActivation hook to encapsulate Enter/Space behavior
  • update rule builder and collection components to consume the shared helper
  • preserve existing accessibility details including focus, preventDefault, and optional stopPropagation

Testing

  • npm run lint:check

https://chatgpt.com/codex/tasks/task_e_68d26a486ee0832288afb83f01382653

Copy link

✅ All checks have passed successfully!

  • Lint: ✅
  • Unit Tests: ✅
  • E2E Tests: ✅

Coverage reports have been uploaded as artifacts.

Copy link

✅ All checks have passed successfully!

  • Lint: ✅
  • Unit Tests: ✅
  • E2E Tests: ✅

Coverage reports have been uploaded as artifacts.

@przeprogramowani przeprogramowani merged commit 591d15c into master Sep 26, 2025
5 checks passed
@przeprogramowani przeprogramowani deleted the codex/extract-usekeyboardactivation-hook-3bqxna branch September 26, 2025 18:22
@mkczarkowski mkczarkowski restored the codex/extract-usekeyboardactivation-hook-3bqxna branch September 29, 2025 12:36
mkczarkowski added a commit that referenced this pull request Oct 4, 2025
* refactor: extract shared markdown builders for rules generation strategies (#73)

Extract common scaffolding from Single and Multi file strategies into reusable builders module. This reduces code duplication and ensures consistent formatting across both strategies.

Key changes:
- Created markdown-builders module with shared utilities
- Extracted project header, empty state, and library section rendering
- Unified iteration logic over layer/stack/library structure
- Simplified both strategies to use shared builders

Benefits:
- Guarantees consistent formatting across strategies
- Reduces effort when adding new strategies
- Single source of truth for markdown generation logic
- Easier maintenance and testing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>

* refactor: centralize keyboard activation handling (#71)

* refactor: centralize keyboard activation handling

* test: add coverage for useKeyboardActivation hook

* docs: add prompt-manager plans and custom prompts

* docs: updates to reflect feedback

* docs: create prd

* feat: implement phase 1 (flags and access)

* feat: implement phase 2 (organizations)

* fix: remove typo from impl plan documents

* feat: implement phase 3 (prompt collections and admin apis)

* refactor: rename collections to differentiate between prompts and collections

* feat: implement phase 4 (member api and ui)

* feat: implement phase 5 (admin ui)

* feat: implement phase 7 (localization)

* feat: add UI adjustments

* fix: handle localization in search

* feat: implement link to prompt

* feat: implement invite links

* feat: apply RLS to protect access

* refactor: simplify test mocks

* refactor: rename prompt manager to prompt library

* chore: update migrations order and consolidate rls

* chore: cleanup docs

* feat: enable prompt library on prod

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants