Skip to content

feat: Add md text-editor and support for image upload#74

Merged
CrawlerCode merged 15 commits into
betafrom
feat/text-editor-and-uploads
Jul 11, 2026
Merged

feat: Add md text-editor and support for image upload#74
CrawlerCode merged 15 commits into
betafrom
feat/text-editor-and-uploads

Conversation

@CrawlerCode

Copy link
Copy Markdown
Owner
  • Settings for redmine text-formatting with auto-detect
  • Markdown text-editor
  • Converting md to textile
  • Support for image upload

- Settings for redmine text-formatting with auto-detect
- Markdown text-editor
- Converting md to textile
- Support for image upload
@CrawlerCode CrawlerCode added this to the v2.1.0 milestone Apr 19, 2026
@CrawlerCode
CrawlerCode marked this pull request as ready for review July 10, 2026 21:23
@CrawlerCode
CrawlerCode requested a review from Copilot July 10, 2026 21:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Markdown editing capabilities and Redmine text-formatting awareness to the extension, along with initial support for uploading/attaching files (notably images) when editing issue descriptions/notes and creating time entries.

Changes:

  • Introduces a Markdown editor field component (with preview/fullscreen, toolbar commands, and paste-to-upload for images).
  • Adds Redmine instance settings for text formatting (auto-detection + persisted settings).
  • Adds attachment upload plumbing (API client, UI components, and new “uploads” fields on issue/note/time-entry flows).

Reviewed changes

Copilot reviewed 20 out of 21 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
wxt.config.ts Adds a build-time ASCII-output workaround plugin for the content script bundle.
src/utils/markdownToTextile.ts Adds Markdown→Textile conversion helper for Textile-configured Redmine instances.
src/routes/settings.tsx Adds Redmine settings UI + auto-detection of text-formatting.
src/provider/SettingsProvider.tsx Persists new redmine.settings.textFormatting setting with defaults/schema.
src/lang/en.json Adds i18n strings for uploads field + editor toolbar + Redmine settings.
src/lang/de.json Adds i18n strings for uploads field + editor toolbar + Redmine settings.
src/lang/fr.json Adds i18n strings for uploads field + editor toolbar + Redmine settings.
src/lang/ru.json Adds i18n strings for uploads field + editor toolbar + Redmine settings.
src/index.css Adds styling overrides for the Markdown editor (theme variables, lists).
src/hooks/useAppForm.ts Registers RedmineMdEditorField in the app form hook.
src/components/ui/chart.tsx Minor Tailwind class refactors (size utilities/order).
src/components/ui/attachment.tsx Adds reusable attachment UI primitives.
src/components/time-entry/CreateTimeEntryModal.tsx Adds Markdown editor for notes + uploads field + upload mutation.
src/components/issue/form/IssueForm.tsx Adds uploads to issue create/edit schema + upload mutation + uploads field.
src/components/issue/form/fields/UploadsField.tsx Adds uploads list UI with remove action.
src/components/issue/AddIssueNotesModal.tsx Adds Markdown editor for notes + uploads field + upload mutation + Textile conversion.
src/components/form/RedmineMdEditorField.tsx New Markdown editor field with toolbar, preview/fullscreen, paste image upload, and URL transforms.
src/api/redmine/types.ts Adds attachment/upload-related API types and extends issue types.
src/api/redmine/RedmineApiClient.ts Adds attachment upload/remove methods and text-format detection; includes attachments in issue fetch.
package.json Adds @uiw/react-md-editor and react-reverse-portal dependencies.
pnpm-lock.yaml Locks new dependencies and their transitive tree.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/time-entry/CreateTimeEntryModal.tsx Outdated
Comment thread src/components/form/RedmineMdEditorField.tsx
Comment thread src/api/redmine/RedmineApiClient.ts
Comment thread src/api/redmine/RedmineApiClient.ts
Comment thread src/components/form/RedmineMdEditorField.tsx
Comment thread src/components/issue/form/fields/UploadsField.tsx
Comment thread src/api/redmine/types.ts
Comment thread wxt.config.ts Outdated
@CrawlerCode
CrawlerCode merged commit 1b4e305 into beta Jul 11, 2026
24 checks passed
@CrawlerCode
CrawlerCode deleted the feat/text-editor-and-uploads branch July 11, 2026 16:02
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