Skip to content

Feat: Add Recently Used Section#279

Closed
badasswp wants to merge 6 commits into10up:developfrom
badasswp:feat/add-recently-used-section
Closed

Feat: Add Recently Used Section#279
badasswp wants to merge 6 commits into10up:developfrom
badasswp:feat/add-recently-used-section

Conversation

@badasswp
Copy link
Copy Markdown

@badasswp badasswp commented Mar 7, 2025

This PR resolves this issue.

Description of the Change

We need to add a new tabbed section called Recently Used that ideally appears as the first tab once someone has previously utilised ISC to add a special character into their post. This section should show the last 80 unique special characters (5 rows of 16 characters in our display).

This PR implements this correctly.

Closes #229

How to test the Change

  • Pull PR to local.
  • Build plugin correctly like so: composer install && npm start.
  • Create a new post and type in some text.
  • Click on the Special characters icon located in the toolbar and select a character.
  • Proceed to another Special character and you should now see the Recently Used section with the recent character you just used like so:
Screenshot 2025-03-07 at 06 17 18
Screen.Recording.2025-03-07.at.06.mp4

Changelog Entry

Added - New feature

Credits

@badasswp

Checklist:

@jeffpaul jeffpaul added this to the 1.2.0 milestone Mar 7, 2025
@jeffpaul jeffpaul requested review from Sidsector9 and removed request for dkotter and jeffpaul March 7, 2025 14:07
@badasswp
Copy link
Copy Markdown
Author

badasswp commented Mar 7, 2025

@jeffpaul @Sidsector9 FYI Cypress E2E tests appear to be flaky. They pass for me on my local.

Screenshot 2025-03-07 at 17 26 25

@jeffpaul
Copy link
Copy Markdown
Member

@Sidsector9 bumping this back onto your radar

@Sidsector9
Copy link
Copy Markdown
Member

@badasswp this feature already exists. You'll have to enable it at /wp-admin/options-writing.php under Insert Special Characters > Most used characters palette.

Currently, it stores 5 most used characters in the descending order.

I'm closing as not needed, feel free to reopen if you have any suggestions.

@Sidsector9 Sidsector9 closed this May 19, 2025
@badasswp
Copy link
Copy Markdown
Author

@Sidsector9 Thanks. I didn't know this existed. No worries. cc. @jeffpaul

@jeffpaul
Copy link
Copy Markdown
Member

@Sidsector9 perhaps at this point we enable that by default?

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.

Add Recently Used section

3 participants