-
Notifications
You must be signed in to change notification settings - Fork 203
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 folder delete and rename behavior #355
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
router.delete('/apps/:id/directories', cors(), async (req, res) => { | ||
const { id } = req.params; | ||
|
||
// TODO: validate and ensure path is not absolute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've wanted some path cleaning utils also in other places, this is a good idea. It's particularly useful given that LLMs are giving us paths which i have less confidence in.
da0f1d8
to
4d92592
Compare
* Add folder delete and rename behavior * Remove unused files state * Fix lint warnings
#333) * [FIX]:285 - Type proccess.env based off the available secrets in a notebook * [ADD] - changeset * [FIX] - linting and formatting * Style apps page sidebar and header (#340) * Update sans font (#341) * File tree functionality and styles (#344) * Add support for deleting and renaming files (#345) * Add support for deleting and renaming files * Fix lint * Exclude a few directories * Implement top level create file and folder (#346) * Homepage UI Rework! (#348) * inital homepage rework, sections, card style, srcbook to notebook * fix lil linter error * move user facing Srcbook (in ref to notebook) to Notebook * style up to match figma * some cleanup around purples on create app (#351) * fix CI bug with pnpm CI mismatch in release (#354) * Add logic to represent booting state within preview panel and parse stdout from vite to get port (#349) * feat: add logic to represent booting state within preview panel and parse stdout from vite to get port * fix: run npm run format * Add folder delete and rename behavior (#355) * Add folder delete and rename behavior * Remove unused files state * Fix lint warnings * [FIX] - env type errors * put the env.d.ts file under root directory instead of src * remove cell:format --------- Co-authored-by: Ben Reinhart <[email protected]> Co-authored-by: versecafe <[email protected]> Co-authored-by: Ryan Gaus <[email protected]>
Need to fix folder renaming, but otherwise this is good to go.