3
16
Fork
You've already forked lichen
1

When creating a new gmi file, it doesn't show up in files, even after saving #4

Open
opened 2024年01月14日 00:16:56 +01:00 by stringbone · 1 comment

Steps to reproduce:

  • Open edit dialog
  • Go to Files
  • Create a new file in the root named "test.gmi"
  • After navigating to new page, go to Files
  • Search for file and see it is not there.
  • Go to Editor
  • Make a change and save the file.
  • Go back to Files
  • Search for file and see it is not there.
  • Refresh the page
  • See it is now there

Fix

When you save the file, check to see if the file is in the list of files. If it is not, update the file listing.

## Steps to reproduce: * Open edit dialog * Go to Files * Create a new file in the root named "test.gmi" * After navigating to new page, go to Files * Search for file and see it is not there. * Go to Editor * Make a change and save the file. * Go back to Files * Search for file and see it is not there. * Refresh the page * See it is now there ## Fix When you save the file, check to see if the file is in the list of files. If it is not, update the file listing.
Author
Owner
Copy link

Cases:

  • File where the parent folder already exists
  • File where the parent folder does not exist
  • File where the parent folder does not exist (recursive)
Cases: - [x] File where the parent folder already exists - [ ] File where the parent folder does not exist - [ ] File where the parent folder does not exist (recursive)
Sign in to join this conversation.
No Branch/Tag specified
master
40/summary
mobile
v2.2.1
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.14
v2.0.13
v2.0.12
v2.0.11
v2.0.10
v2.0.9
v2.0.8
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
stringbone/lichen#4
Reference in a new issue
stringbone/lichen
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?