Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove FocusTrap in favor of KFocusTrap #12588

Closed
2 tasks
MisRob opened this issue Aug 22, 2024 · 12 comments
Closed
2 tasks

Remove FocusTrap in favor of KFocusTrap #12588

MisRob opened this issue Aug 22, 2024 · 12 comments
Assignees
Labels
DEV: frontend good first issue Self-contained, straightforward, low-complexity help wanted Open source contributors welcome P2 - normal Priority: Nice to have

Comments

@MisRob
Copy link
Member

MisRob commented Aug 22, 2024

🌱 Are you new to the codebase? Welcome! Please see the contributing guidelines.

Blocked by

Summary

As soon as Kolibri Design System contains learningequality/kolibri-design-system#746, here in Kolibri we need to

(1) Remove all FocusTraps that are wrapping KModal s

<FocusTrap>
  <KModal>

(because KModal will contain the focus trapping logic within itself)

(2) Rename all remaining instances of FocusTrap to KFocusTrap

(3) Finally remove kolibri/core/assets/src/views/FocusTrap.vue

Comments

This may slightly conflict with #5488. Nothing really blocking, let’s just inform @rtibbles about progress on this issue.

Acceptance criteria

  • Implemented as specified above
  • There are no regressions at all updated places
@MisRob MisRob added P2 - normal Priority: Nice to have DEV: frontend help wanted Open source contributors welcome good first issue Self-contained, straightforward, low-complexity labels Aug 22, 2024
@DakshArora1004
Copy link

Hi @MisRob, I'm interested in working on this issue after kolibri-design-system#746 is resolved. Could you assign it to me? I'll start preparing and will be ready to implement once the blocker is cleared.

@MisRob
Copy link
Member Author

MisRob commented Sep 3, 2024

Hi @DakshArora1004, thanks for volunteering. I will assign you. After learningequality/kolibri-design-system#764 is merged, you can use devserver-with-kds command to run Kolibri with your local Kolibri Design System. Feel free to ask any questions here.

@MisRob
Copy link
Member Author

MisRob commented Sep 3, 2024

@DakshArora1004 I wanted to flag there's a possibility that this work will be addressed in the scope of learningequality/kolibri-design-system#764 (comment). Better to wait before working on what's the decision in the linked pull request.

@MisRob
Copy link
Member Author

MisRob commented Sep 3, 2024

@DakshArora1004 I'm sorry for confusion but we will assign this to the same volunteer who has just resolved learningequality/kolibri-design-system#764 since they will use this issue to ensure everything works as expected in Kolibri. Otherwise both of you would work on the same task.

There are other contributing opportunities in three repositories you're very welcome to explore. See the contributing guidelines including links to issues suitable for contribution for each repository here:

You can also see the list of unassigned "help wanted" or "good first issue" issues across all repositories.

@lokesh-sagi125
Copy link
Contributor

hey @MisRob .

@MisRob
Copy link
Member Author

MisRob commented Sep 3, 2024

Hi, thanks @lokesh-sagi125, assigning as agreed

@MisRob
Copy link
Member Author

MisRob commented Sep 3, 2024

@MisRob
Copy link
Member Author

MisRob commented Oct 3, 2024

Hi @lokesh-sagi125, are you working on this or planning to? Just to know if we should keep the assignment or not.

@lokesh-sagi125
Copy link
Contributor

YES @MisRob i am still working on this issue, i was learning going through the codebase to avoid making errors while creating the component, i will raise a PR in 3 days

@MisRob
Copy link
Member Author

MisRob commented Oct 3, 2024

Thanks for update @lokesh-sagi125. No problem and no pressure at all, just my regular rounds checking on possibly stale assignments.

@rtibbles
Copy link
Member

rtibbles commented Nov 6, 2024

Fixed in #12718

Thanks for your work here @lokesh-sagi125, very much appreciated!

@rtibbles rtibbles closed this as completed Nov 6, 2024
@lokesh-sagi125
Copy link
Contributor

@rtibbles thank you for helping me with the rebasing issues . i hope to produce PR's with lesser problems in the future :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: frontend good first issue Self-contained, straightforward, low-complexity help wanted Open source contributors welcome P2 - normal Priority: Nice to have
Projects
None yet
Development

No branches or pull requests

4 participants