Skip to content

feat(draw): migrate plugin - #895

Open
warm-coolguy wants to merge 43 commits into
nextfrom
feature/draw-migration
Open

feat(draw): migrate plugin#895
warm-coolguy wants to merge 43 commits into
nextfrom
feature/draw-migration

Conversation

@warm-coolguy

Copy link
Copy Markdown
Member

Summary

Draw is migrated.

Instructions for local reproduction and review

I don't know!

Making this PR so that we have a running example on the web for bug hunt.

Pull Request Checklist (for Assignee)

  • Changelogs are maintained
  • Functionality has been tested in Firefox, Chrome, Safari
  • Functionality has been tested on a smartphone
  • Functionality has been tested with 200% screen zoom
  • Screenreader functionality has been manually tested with NVDA

UI has been tested in the following tools regarding accessibility (only regarding functionality affected in this PR)

  • Chrome Lighthouse
  • Firefox Accessibility

Relevant tickets, issues, et cetera

@warm-coolguy
warm-coolguy requested a review from a team July 24, 2026 07:37
@warm-coolguy warm-coolguy added the refactor Refactoring of previous code label Jul 24, 2026
@warm-coolguy
warm-coolguy force-pushed the feature/draw-migration branch from ea6e36a to 6b32c32 Compare July 24, 2026 07:42
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://Dataport.github.io/polar/pr-preview/pr-895/

Built to branch gh-pages at 2026-08-14 16:50 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@dopenguin dopenguin changed the title Feature: Draw Migration feat(draw): migrate plugin Jul 27, 2026
@dopenguin
dopenguin force-pushed the feature/draw-migration branch from 387027a to 379ec1b Compare July 29, 2026 14:14
@dopenguin
dopenguin force-pushed the feature/draw-migration branch from 99c7cef to 75de0f5 Compare July 29, 2026 15:32
@dopenguin
dopenguin force-pushed the feature/draw-migration branch from 7d7c422 to 9d2a6bb Compare August 13, 2026 20:22
<!-- eslint-disable vue/enforce-style-attribute -->
<template>
<div class="polar-icon-button-select">
<PolarIconButton

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why not use KernButton here? Especially as the kern-label basically is duplicated now

Comment on lines +13 to +23
<div class="kern-form-input">
<label class="kern-label" for="polar-plugin-draw-textarea">
{{ $t(($) => $.text.content, { ns: PluginId }) }}
</label>
<textarea
id="polar-plugin-draw-textarea"
v-model="textInput"
class="kern-form-input__input"
name="polar-plugin-draw-textarea"
/>
</div>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you think we'll have more textareas? If so, this might be a great reusable component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring of previous code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants