Skip to content

feat: redone Framework integration#604

Draft
safwansamsudeen wants to merge 38 commits into
developfrom
ff-file
Draft

feat: redone Framework integration#604
safwansamsudeen wants to merge 38 commits into
developfrom
ff-file

Conversation

@safwansamsudeen
Copy link
Copy Markdown
Collaborator

Merge Drive File into File. Makes Drive the improved file-viewer for Framework.

@safwansamsudeen
Copy link
Copy Markdown
Collaborator Author

@federicocalvo @nilpatel42 please let me know if you're interested in alpha testing 😄 (DM @realsafwan).

@federicocalvo
Copy link
Copy Markdown

This should be a real game-changer in terms of encouraging the use of the drive

…th (D1)

Notable decisions:
- Took ff-file's framework File doctype model throughout (file_name/is_folder/
  file_url over Drive File's title/is_group)
- Adopted develop's structured frappe.local.response.errors pattern in
  get_entity_with_permissions
- Adopted develop's delayedLoading watcher in DriveToolBar
- Adopted develop's Tooltip wrappers for share_count icons in ListView
- Kept ff-file's reactive storage-bar watch over develop's one-shot fetch
- Dropped DocEditor (deleted in develop) and the editor-style imports in
  utils/files.js and utils/download.js
- Took yarn over pnpm and frappe-ui npm 0.1.269 over the github pinned commit
- Switched newExternal Presentation flow to develop's /slides/presentation/new
  redirect; drive.api.files.create_presentation is now unreachable
- Restored develop's frappe_doc/markdown branch in getLink (was missing in HEAD)

D1: scripts.clear_deleted_files used today + timedelta(30); flipped to today -
    timedelta(30) so the job preserves status=-1 records for 30 days before
    hard-delete instead of nuking them on first run.
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.

2 participants