Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Have a direct editing entry point that can be cached and reused

Đang mở
#9,251 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

No implementation files or tests are named. Start by locating the current direct-editing entry point and its one-time authentication flow, then inspect how editor content is stored in IndexedDB and loaded in the webview. Done means a stable cacheable entry point, a defined API for loading authenticated file context, and offline content retrieval.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

client: 🤖🍏 mobile enhancement mobile

Is your feature request related to a problem? Please describe.

  • Right now direct editing uses a one time token for authentication. That way the url is always different and cannot be cached.
    So there is no way to rely on a cache when opening the editor offline.

Describe the solution you'd like
Have a defined entrypoint that loads the basic text js and allows loading a file (or rather context) via a defined api including a token for authentication.

If there is no network connection the content could still be retrieved from the indexed db by text inside the webview.

Describe alternatives you've considered
Publishing a js library to provide a text editor. That way the android apps could ship with text rendering capabilities. But text syntax and rendering change with releases. So we would have to handle version compatibility. Probably better to actually use js from the current nextcloud version.

Additional context

Ngôn ngữ chính
JavaScript
Star
665
Fork
133
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
172

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/text

Tất cả issue của nextcloud/text

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.