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

Add "Open recent" menu #101

Closed
kaorahi opened this issue Dec 1, 2023 · 2 comments
Closed

Add "Open recent" menu #101

kaorahi opened this issue Dec 1, 2023 · 2 comments

Comments

@kaorahi
Copy link
Owner

kaorahi commented Dec 1, 2023

(continued from #70 (comment) )

If you're interested in having your name recorded in the official Git repository, feel free to send a pull request. If not, I will make a commit myself. In both cases, I will also add your name to contributors.html, accessible through the Help > Contributors menu.

Additionally, I'm planning to extend this feature. Beyond just recently opened files, I also want to include recently deleted boards, so that I won't need to repeatedly press Ctrl-Z (Edit > Undelete board) when there are many candidates.

@qcgm1978
Copy link
Contributor

qcgm1978 commented Dec 1, 2023

The "recently deleted boards" feature you mentioned is the same as what I want to implement as the "open recent files" feature. Are they the same? If they are, then it's just one feature.

I've already commited pr #102

kaorahi added a commit that referenced this issue Dec 2, 2023
* Add recent files menu and store recently opened files

This commit adds a "Recent Files" submenu to the "File" menu that displays recently opened SGF files. It also stores the list of recent files in the browser storage and updates it whenever a new file is loaded, so the recent files stay in sync across browser sessions.

* cleaning (recover indent from #102)

* polish #102 ("Open recent")

* add qcgm1978 to contributors

* fix typo (resent ==> recent)

---------

Co-authored-by: Hiraoka <[email protected]>
@kaorahi
Copy link
Owner Author

kaorahi commented Dec 2, 2023

Implemented in #102.

@kaorahi kaorahi closed this as completed Dec 2, 2023
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

No branches or pull requests

2 participants