Skip to content
Open

Next #325

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1380 commits
Select commit Hold shift + click to select a range
efb9310
Prevent default click behavior in interactive text
TorstenDittmann Jun 18, 2025
a9d6b0e
Move table cell components to dedicated folder
TorstenDittmann Jun 18, 2025
3228c15
Update column width virtualization to fill available space
TorstenDittmann Jun 18, 2025
24b32b8
Merge pull request #340 from appwrite/feat-virtual-tables
TorstenDittmann Jun 18, 2025
267da11
Add overflow hidden to Stack component layout
TorstenDittmann Jun 19, 2025
973fff2
Remove overflow hidden from Stack component
TorstenDittmann Jun 19, 2025
b2e9b87
Improve column drag and drop visual feedback and UX
TorstenDittmann Jun 24, 2025
742f8b2
Merge branch 'next' into feat-spreadsheet
ItzNotABug Jul 8, 2025
8df8c98
feat: empty cells support.
ItzNotABug Jul 9, 2025
bc94ff8
update: allow custom elements for edits.
ItzNotABug Jul 9, 2025
813ff24
update: shut the lint up.
ItzNotABug Jul 9, 2025
78fdff7
address comments from design.
ItzNotABug Jul 9, 2025
1a03ce8
fix: auto-height.
ItzNotABug Jul 9, 2025
5ba20ca
update: allow passing height.
ItzNotABug Jul 9, 2025
ad1b5c4
fix: hide right border on the last column before action.
ItzNotABug Jul 10, 2025
79a6929
fix: row and header colors for checkboxes.
ItzNotABug Jul 10, 2025
44e5eb1
update: remove unnecessary style; fix: action icon alignment.
ItzNotABug Jul 10, 2025
94df3da
attempt: fix the presentation view on last column.
ItzNotABug Jul 10, 2025
3b35c69
footer: full width.
ItzNotABug Jul 10, 2025
c8081ce
remove: overflow hidden from cell for tooltips.
ItzNotABug Jul 10, 2025
f00b8c5
update: mint things 😉.
ItzNotABug Jul 10, 2025
9e1c50a
update: swap animation
ItzNotABug Jul 10, 2025
ab3c221
fix: checkbox state.
ItzNotABug Jul 10, 2025
e21c1d9
add: story.
ItzNotABug Jul 10, 2025
74cf26b
Merge pull request #342 from appwrite/fix-checkbox-state
ItzNotABug Jul 10, 2025
7254e0d
add: nice indicator.
ItzNotABug Jul 10, 2025
819eb7d
fix: table selections.
ItzNotABug Jul 11, 2025
e1e883a
fix: virtual table selections.
ItzNotABug Jul 11, 2025
01ad18b
fix: row positions.
ItzNotABug Jul 11, 2025
fee5c53
Merge pull request #343 from appwrite/fix-table
ItzNotABug Jul 11, 2025
a75c2d5
update: story.
ItzNotABug Jul 11, 2025
f0ff26b
fix: story for local tests.
ItzNotABug Jul 11, 2025
95ce490
Merge branch 'next' into feat-spreadsheet
ItzNotABug Jul 11, 2025
543ebea
fix: alpha.
ItzNotABug Jul 11, 2025
255fab5
fix: preview image border color.
ItzNotABug Jul 11, 2025
373d6a6
update: cursor logic and cleanup.
ItzNotABug Jul 11, 2025
a6874bc
update: optimize logic for lesser elements in dom for tooltips.
ItzNotABug Jul 12, 2025
2f1e67d
fix: lint.
ItzNotABug Jul 12, 2025
e91326e
add: loading state.
ItzNotABug Jul 12, 2025
f351106
update: sizes.
ItzNotABug Jul 12, 2025
ffd1c00
update: forward context menu events.
ItzNotABug Jul 12, 2025
244d5db
update: start keyboard key management; fix: textarea.
ItzNotABug Jul 14, 2025
6aed15d
add: preliminary keyboard nav support.
ItzNotABug Jul 14, 2025
edccb3a
remove: focus logic.
ItzNotABug Jul 14, 2025
e2eb987
update: use contextual logic.
ItzNotABug Jul 14, 2025
3bfe2c7
Merge branch 'feat-spreadsheet' into keyboard-nav-sheet
ItzNotABug Jul 14, 2025
7e2deae
fix: zIndex.
ItzNotABug Jul 14, 2025
d6705b9
update: use action directives.
ItzNotABug Jul 14, 2025
0ed6a5f
fix
HarshMN2345 Jul 14, 2025
6454219
fix(SER-112): resolve break line issue on alerts for specific device
HarshMN2345 Jul 14, 2025
7f8f433
update: misc changes to dimensions.
ItzNotABug Jul 15, 2025
0a9df07
fix: remove span and added stack back
HarshMN2345 Jul 15, 2025
d9ba720
Merge pull request #347 from appwrite/fix-SER-112-break-line-alerts
ItzNotABug Jul 16, 2025
3d145d4
ci: empty commit
ItzNotABug Jul 16, 2025
2acaff9
Merge branch 'feat-spreadsheet' into keyboard-nav-sheet
ItzNotABug Jul 16, 2025
b9e4bed
Remove npm preview workflow
TorstenDittmann Jul 17, 2025
dbbb00f
update: textarea height.
ItzNotABug Jul 18, 2025
95bdb79
Merge pull request #348 from appwrite/fix-text-input-height
TorstenDittmann Jul 18, 2025
ac94143
update: cell focus navigation.
ItzNotABug Jul 19, 2025
d7034e5
fix: first item not working on nav.
ItzNotABug Jul 19, 2025
f36ef60
Merge branch 'next' into keyboard-nav-sheet
ItzNotABug Jul 20, 2025
872efe2
ci: empty commit
ItzNotABug Jul 20, 2025
dc53e79
add: input.
ItzNotABug Jul 22, 2025
c071257
update: resizing bg border.
ItzNotABug Jul 22, 2025
8057bf6
Merge branch 'optimize-dom' into feat-spreadsheet
ItzNotABug Jul 22, 2025
c5b4d80
revert: borders on resize.
ItzNotABug Jul 23, 2025
b12ef1f
fix: cursor and state on non-resizable columns; update: borders for d…
ItzNotABug Jul 23, 2025
7025bb6
Merge branch 'next' into feat-spreadsheet
ItzNotABug Jul 23, 2025
9132446
patch: border diffs.
ItzNotABug Jul 23, 2025
7ac7261
Merge remote-tracking branch 'origin/feat-spreadsheet' into feat-spre…
ItzNotABug Jul 23, 2025
19f15c8
add: select state options.
ItzNotABug Jul 24, 2025
c88c338
add: simple column swap tracker.
ItzNotABug Jul 24, 2025
5ee0b63
add: simple column resize tracker.
ItzNotABug Jul 25, 2025
e0df9cb
add: `minimumWidth` for resizing.
ItzNotABug Jul 25, 2025
99ee9f5
fix: overlay color on resize and format.
ItzNotABug Jul 26, 2025
96e10aa
fix: cell text overflows and wrappings.
ItzNotABug Jul 28, 2025
8892b0f
Merge branch 'feat-spreadsheet' into keyboard-nav-sheet
ItzNotABug Jul 28, 2025
7daf439
add: whitespace handling.
ItzNotABug Jul 28, 2025
54f2e83
fix: display.
ItzNotABug Jul 28, 2025
b5bb595
fix: display for loading and normal mode.
ItzNotABug Jul 28, 2025
ebaa13e
Merge branch 'feat-spreadsheet' into 'keyboard-nav-sheet'.
ItzNotABug Jul 29, 2025
3ea76a5
Merge remote-tracking branch 'origin/keyboard-nav-sheet' into keyboar…
ItzNotABug Jul 29, 2025
5913d0c
fix: add `portal` on tooltip; border/outline width for focused state.
ItzNotABug Jul 29, 2025
963d0b9
fix: random overflow and borders.
ItzNotABug Jul 29, 2025
cc69c76
fix: random overflow and borders.
ItzNotABug Jul 29, 2025
0a9015e
fix: misc.
ItzNotABug Jul 29, 2025
3d31cea
attempt: fix.
ItzNotABug Jul 29, 2025
0cc4af0
fix: overflown value text content.
ItzNotABug Jul 31, 2025
14c6853
Add Storybook build to main build process
TorstenDittmann Jul 31, 2025
99f5ea4
Merge branch 'next' of https://github.com/appwrite/pink into next
TorstenDittmann Jul 31, 2025
a209351
Fix build script command reference
TorstenDittmann Jul 31, 2025
fb7591b
fix: add text wrapping for long URLs and content
HarshMN2345 Jul 31, 2025
260eb79
Merge pull request #349 from appwrite/fix-SER-135-fix-function-logs-c…
ItzNotABug Aug 1, 2025
a7a43d6
Merge branch 'next' into 'keyboard-nav-sheet'.
ItzNotABug Aug 1, 2025
95dc1c9
fix: inconsistent border on non-resizable column.
ItzNotABug Aug 1, 2025
97e114e
fix: focused state.
ItzNotABug Aug 1, 2025
142a846
fix: keyboard nav & focus.
ItzNotABug Aug 4, 2025
18ed891
fix: values updates.
ItzNotABug Aug 4, 2025
a64ab34
fix:
ItzNotABug Aug 4, 2025
51326d1
fix: editor
ItzNotABug Aug 4, 2025
f4bae29
Merge remote-tracking branch 'origin/keyboard-nav-sheet' into keyboar…
ItzNotABug Aug 4, 2025
bfa834d
fix: outlines.
ItzNotABug Aug 4, 2025
1bc7cf7
fix: alignment.
ItzNotABug Aug 4, 2025
da8cd99
add: disabled row state.
ItzNotABug Aug 4, 2025
3b4734f
feat: virtual spreadsheet
TorstenDittmann Aug 4, 2025
a53ff9c
Merge branch 'keyboard-nav-sheet' into 'feat-virtual-spreadsheet'.
ItzNotABug Aug 5, 2025
4ac7e2f
update: full height.
ItzNotABug Aug 5, 2025
31a9048
address comments.
ItzNotABug Aug 5, 2025
fce7eac
update: misc cleanup.
ItzNotABug Aug 5, 2025
9da8171
fix: editing mode and focus issues.
ItzNotABug Aug 5, 2025
7ab8acd
fix: selector count.
ItzNotABug Aug 5, 2025
25a3ab9
update: empty cells.
ItzNotABug Aug 5, 2025
cf90d64
update: empty cells <> virtual lists.
ItzNotABug Aug 5, 2025
5f582f9
fix: cell navs, backwards compat.
ItzNotABug Aug 5, 2025
bc41d0c
update: rows.
ItzNotABug Aug 5, 2025
d303221
fix: revert size change.
ItzNotABug Aug 5, 2025
23c182d
fix: count.
ItzNotABug Aug 5, 2025
7f47803
lint.
ItzNotABug Aug 5, 2025
24930a2
revert: architect's fix
ItzNotABug Aug 5, 2025
c880f34
update: selected rows destruction fix.
ItzNotABug Aug 5, 2025
e6b154b
fix: dropdown cut-off.
ItzNotABug Aug 5, 2025
3f81097
Merge pull request #351 from appwrite/fix-selects
ItzNotABug Aug 5, 2025
0468c93
hotfix.
ItzNotABug Aug 5, 2025
753f9c0
another hotfix.
ItzNotABug Aug 5, 2025
950fa5e
fixes:
ItzNotABug Aug 7, 2025
0c51a94
fixes.
ItzNotABug Aug 8, 2025
b00fb9c
update: conditional paddings.
ItzNotABug Aug 8, 2025
0c30e2f
feat: delay to tooltips.
ItzNotABug Aug 8, 2025
363dcac
update: increase touch target for resize, misc.
ItzNotABug Aug 9, 2025
c0cdd91
feat: infinite scrolling.
ItzNotABug Aug 10, 2025
b4e47f3
feat: bidirectional scrolling.
ItzNotABug Aug 10, 2025
cad4411
update: loading time on demos, lint.
ItzNotABug Aug 10, 2025
da2ca90
fix: condition.
ItzNotABug Aug 11, 2025
206f46f
fix: scroll listener conditions.
ItzNotABug Aug 11, 2025
c1b4460
update: add scroll listener effectively.
ItzNotABug Aug 11, 2025
19eed0b
fix: add scroll listener logic not firing on console.
ItzNotABug Aug 11, 2025
182bbaa
update: comment.
ItzNotABug Aug 11, 2025
fd15f6e
update: reorder [no specific reason, just ocd things].
ItzNotABug Aug 11, 2025
828a552
feat: added badge as a argument to fieldset
HarshMN2345 Aug 11, 2025
d93a5e9
feat: used stack instead of css
HarshMN2345 Aug 11, 2025
b023951
fix: non-full pages issue, binding var support.
ItzNotABug Aug 11, 2025
3f2602a
comments.
ItzNotABug Aug 11, 2025
2a50f4b
Merge pull request #353 from appwrite/feat-add-badge-to-fieldset
ItzNotABug Aug 12, 2025
8675026
updates, fixes.
ItzNotABug Aug 12, 2025
c467db8
add: update method.
ItzNotABug Aug 12, 2025
10eee24
fix: target index scroll.
ItzNotABug Aug 13, 2025
698efda
update: hover state for resize.
ItzNotABug Aug 13, 2025
0fed23b
fix: colors.
ItzNotABug Aug 13, 2025
28cba8a
feat: added new component called expandable table aswell as left chev…
HarshMN2345 Aug 15, 2025
8076873
fix: drag and reordering the columns. my sanity has been restored 😮‍💨
ItzNotABug Aug 15, 2025
fe36900
fix: last column calculation.
ItzNotABug Aug 15, 2025
202a180
fix: column width calculations.
ItzNotABug Aug 16, 2025
8672d4d
update: improved edge case handling with only non action item.
ItzNotABug Aug 16, 2025
fcd953f
lint.
ItzNotABug Aug 16, 2025
558e460
optimize: sparse paging.
ItzNotABug Aug 16, 2025
85acd09
fix: remove debounce and load page on visibility.
ItzNotABug Aug 16, 2025
c165ec2
fix: width logic, again.
ItzNotABug Aug 16, 2025
e10aaa8
add: hover logic for sequence and checkbox.
ItzNotABug Aug 16, 2025
45189ad
update: only remove focus if hover mode is true.
ItzNotABug Aug 16, 2025
247af49
update: keyboard events, navigation, and bug fix with select showing …
ItzNotABug Aug 16, 2025
7a52c75
update: improved keyboard nav and enter trigger on action.
ItzNotABug Aug 16, 2025
6325730
fix:spacing issue
HarshMN2345 Aug 16, 2025
6f0c94b
fix: responsiveness
HarshMN2345 Aug 16, 2025
9081fa8
fix: an edge case when Table is used inside a Dialog component.
ItzNotABug Aug 17, 2025
535121c
update: simplify fix for the width issue on dialogs.
ItzNotABug Aug 17, 2025
db071ac
add: end slot to textarea for console.
ItzNotABug Aug 17, 2025
4f3c872
fix: remove left chevron variants of accordian
HarshMN2345 Aug 17, 2025
34671e4
update: add `close` support to editor;
ItzNotABug Aug 18, 2025
18909bc
feat: add slot-based API (Root/Row/Cell)
HarshMN2345 Aug 18, 2025
7e90824
update: border color on hover.
ItzNotABug Aug 18, 2025
65f97c8
fix: hover on non-draggable columns and missing borders on select.
ItzNotABug Aug 18, 2025
6bf3dd0
add: tooltip support to bottom action.
ItzNotABug Aug 19, 2025
9f28c76
fix: border for select cells.
ItzNotABug Aug 19, 2025
09eb531
Merge branch 'next' into 'feat-virtual-spreadsheet'.
ItzNotABug Aug 19, 2025
0478e12
Merge pull request #350 from appwrite/feat-virtual-spreadsheet
ItzNotABug Aug 19, 2025
0c4d6e1
Merge pull request #346 from appwrite/keyboard-nav-sheet
ItzNotABug Aug 19, 2025
185ee47
fix: lint.
ItzNotABug Aug 19, 2025
44385d1
fix: onMount invalid call, leftover from merge.
ItzNotABug Aug 19, 2025
36dc3f2
fix: close triggering `on:blur`.
ItzNotABug Aug 19, 2025
59e81f6
fix: toast action buttons to extra-compact.
ItzNotABug Aug 20, 2025
0b77850
fix: chnaged padding and margin to )
HarshMN2345 Aug 21, 2025
0bad73d
Merge pull request #356 from appwrite/fix-Margin-Fieldset
ItzNotABug Aug 21, 2025
2a06487
Merge branch 'next' into feat-SER-205-new-expansion-table-component
HarshMN2345 Aug 21, 2025
0f02493
fix:improve type structure
HarshMN2345 Aug 24, 2025
f2c492e
fix:lint error
HarshMN2345 Aug 24, 2025
c993493
Merge branch 'next' into feat-spreadsheet
ItzNotABug Aug 25, 2025
23b0b61
fix: limit on pagination [lol].
ItzNotABug Aug 25, 2025
4d9e4bf
Merge remote-tracking branch 'origin/feat-spreadsheet' into feat-spre…
ItzNotABug Aug 25, 2025
60a0d5c
standardize 40px row height and fix alignment and used same icon comp…
HarshMN2345 Aug 25, 2025
dffcf86
attempt fix: better next loading.
ItzNotABug Aug 27, 2025
98d8dd0
attempt fix: measure again on content update.
ItzNotABug Aug 27, 2025
0f90bf1
Merge pull request #357 from appwrite/smoother-autoload
ItzNotABug Aug 27, 2025
2cf27e0
Merge branch 'feat-spreadsheet' into feat-SER-205-new-expansion-table…
HarshMN2345 Aug 28, 2025
79d8d17
fix: deleted types.ts and moved rootprops to index.ts
HarshMN2345 Aug 29, 2025
7a84c31
passing isOpen and toggle to handled by row
HarshMN2345 Aug 29, 2025
18188b7
fix: number component not firing on:change and values being string on…
ItzNotABug Aug 31, 2025
2a08cf6
update: nullable behaviour, don't disable the input field.
ItzNotABug Aug 31, 2025
9659e5f
Merge branch 'feat-spreadsheet' into feat-SER-205-new-expansion-table…
HarshMN2345 Aug 31, 2025
52e6f45
Merge pull request #314 from appwrite/feat-spreadsheet
ItzNotABug Sep 1, 2025
37da8fb
update: nullable behaviour, don't disable the input field.
ItzNotABug Sep 2, 2025
16f0beb
Merge branch 'next' into fix-nullable-behaviour
ItzNotABug Sep 2, 2025
a7a9b5d
Merge pull request #359 from appwrite/fix-nullable-behaviour
ItzNotABug Sep 2, 2025
40fb564
Merge branch 'next' into feat-SER-205-new-expansion-table-component
ItzNotABug Sep 2, 2025
6ef18ae
feat: accordion table.
ItzNotABug Sep 2, 2025
101733c
address comments.
ItzNotABug Sep 8, 2025
d735c9a
add: hover state on rows.
ItzNotABug Sep 8, 2025
d620281
fix: square bg on virtual items.
ItzNotABug Sep 8, 2025
196896c
more fixes.
ItzNotABug Sep 8, 2025
2ae5c26
zIndex adjustments.
ItzNotABug Sep 8, 2025
7da6b86
update: adjust focus loss on row to remove hover state.
ItzNotABug Sep 8, 2025
86cdb73
Merge branch 'next' into accordion-table
ItzNotABug Sep 8, 2025
b7e19d8
add: solid color of same reference, i.e. without alpha.
ItzNotABug Sep 8, 2025
8a3316e
Merge branch 'next' into accordion-table
ItzNotABug Sep 8, 2025
1518a0f
add: icons.
ItzNotABug Sep 8, 2025
83942c1
Merge pull request #362 from appwrite/add-icons
ItzNotABug Sep 8, 2025
3d9d31f
Merge branch 'next' into accordion-table
ItzNotABug Sep 8, 2025
1955660
add: pinned icon.
ItzNotABug Sep 9, 2025
30fa057
update: allow string height.
ItzNotABug Sep 9, 2025
3b50c35
add: restProps support to skeleton.
ItzNotABug Sep 10, 2025
ce2b249
add: correct type.
ItzNotABug Sep 10, 2025
317dd3f
Merge branch 'next' into accordion-table
ItzNotABug Sep 10, 2025
40105cc
update: handle viewports on accordion table summary.
ItzNotABug Sep 10, 2025
efde1ec
update: icons.
ItzNotABug Sep 10, 2025
136de71
adds: optional icons support to input labels on the left side.
ItzNotABug Sep 11, 2025
7e2f4da
Merge pull request #363 from appwrite/input-icons
ItzNotABug Sep 11, 2025
aceaca7
Merge branch 'next' into accordion-table
ItzNotABug Sep 11, 2025
cdb58ac
fix: icon colors.
ItzNotABug Sep 11, 2025
034243e
Merge branch 'next' into accordion-table
ItzNotABug Sep 11, 2025
7ddce03
feat: combobox custom option support.
ItzNotABug Sep 11, 2025
0d30abc
Merge branch 'next' into accordion-table
ItzNotABug Sep 11, 2025
dd980f7
Update v2/pink-sb/src/lib/accordion-table/cell/Cell.svelte
ItzNotABug Sep 11, 2025
2ed1250
Merge pull request #360 from appwrite/accordion-table
ItzNotABug Sep 12, 2025
218be58
fix: return empty values if they are.
ItzNotABug Sep 12, 2025
2c4b5cf
remove: problematic cache logic.
ItzNotABug Sep 15, 2025
c4033d9
lint.
ItzNotABug Sep 15, 2025
b6d23a2
Rename table-row class to accordian-table-row
HarshMN2345 Sep 15, 2025
6be70dc
update: ComboBox.svelte for disabled state.
ItzNotABug Sep 18, 2025
9552823
update: combo-box.
ItzNotABug Sep 18, 2025
2037d5e
Merge branch 'next' into change-row-name
ItzNotABug Sep 20, 2025
c6caab9
add: disabled states to combo-box
ItzNotABug Sep 20, 2025
383f5e6
Merge branch 'next' into change-row-name
HarshMN2345 Sep 23, 2025
e3b67a2
update: allow edits and edit on taps for header cells.
ItzNotABug Sep 24, 2025
3a06f4c
lint.
ItzNotABug Sep 24, 2025
7ccbbff
Merge pull request #367 from appwrite/sheet-cell-improvements
ItzNotABug Sep 24, 2025
dcfb9e1
update: change default editable behaviour on header cells.
ItzNotABug Sep 24, 2025
0a65051
add: custom icon and html support on toast.
ItzNotABug Sep 26, 2025
dc65e5f
Merge branch 'next' into change-row-name
HarshMN2345 Sep 27, 2025
3a17fe8
Fix typo in class name from 'accordian' to 'accordion'
HarshMN2345 Sep 27, 2025
72e5104
Merge pull request #366 from appwrite/change-row-name
ItzNotABug Sep 27, 2025
d1684a1
update: conditional row hover effect.
ItzNotABug Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
!dist
39 changes: 39 additions & 0 deletions .github/workflows/pkg-vc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Publish to pkg.vc

on:
pull_request:

Comment on lines +3 to +5
Copy link

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

⚠️ Potential issue

Do not publish on pull_request. Restrict to main/tags (prevents accidental releases).

Publishing on PRs risks unmerged or fork code attempting to publish. Trigger on push to main/tags and allow manual runs.

-on:
-    pull_request:
+on:
+  push:
+    branches: [main]
+    tags: ['v*']
+  workflow_dispatch:
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
on:
pull_request:
on:
push:
branches: [main]
tags: ['v*']
workflow_dispatch:
🤖 Prompt for AI Agents
.github/workflows/pkg-vc.yml lines 3-5: the workflow is currently triggered on
pull_request which can cause accidental publishes from unmerged or forked PRs;
remove the pull_request trigger and instead configure the workflow to run on
push to main and on tag pushes (e.g., tags matching your release pattern) and
add workflow_dispatch for manual runs so releases occur only from main/tags or
when manually invoked.

permissions:
pull-requests: write
contents: read

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20
Comment on lines +16 to +19
Copy link

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Upgrade setup-node to v4 and enable pnpm cache.

actionlint flags v2 as too old; caching speeds CI.

-            - name: Use Node.js
-              uses: actions/setup-node@v2
-              with:
-                  node-version: 20
+            - name: Use Node.js
+              uses: actions/setup-node@v4
+              with:
+                  node-version: '20'
+                  cache: 'pnpm'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
🧰 Tools
🪛 actionlint (1.7.7)

17-17: the runner of "actions/setup-node@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🤖 Prompt for AI Agents
.github/workflows/pkg-vc.yml around lines 16 to 19: update the GitHub Action to
use actions/setup-node@v4 and enable pnpm caching; replace uses:
actions/setup-node@v2 with actions/setup-node@v4 and add the with: cache: 'pnpm'
(keeping node-version: 20) so the workflow uses the newer action and speeds CI
by caching pnpm dependencies.

- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm run build
- name: Publish @appwrite.io/pink-svelte
uses: pkg-vc/publish-action@main
with:
organization: appwrite
directory: ./v2/pink-sb
secret: ${{ secrets.TRY_MODULE_SECRET }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish @appwrite.io/pink-icons-svelte
uses: pkg-vc/publish-action@main
with:
organization: appwrite
directory: ./v2/pink-icons
secret: ${{ secrets.TRY_MODULE_SECRET }}
github-token: ${{ secrets.GITHUB_TOKEN }}
Comment on lines +26 to +39
Copy link

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Guard publish steps or job against PR events.

If you keep PR triggers for dry-runs, ensure secrets aren’t required. Otherwise gate the job.

-    publish:
+    publish:
+        if: github.event_name != 'pull_request'
         runs-on: ubuntu-latest
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Publish @appwrite.io/pink-svelte
uses: pkg-vc/publish-action@main
with:
organization: appwrite
directory: ./v2/pink-sb
secret: ${{ secrets.TRY_MODULE_SECRET }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish @appwrite.io/pink-icons-svelte
uses: pkg-vc/publish-action@main
with:
organization: appwrite
directory: ./v2/pink-icons
secret: ${{ secrets.TRY_MODULE_SECRET }}
github-token: ${{ secrets.GITHUB_TOKEN }}
publish:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Publish @appwrite.io/pink-svelte
uses: pkg-vc/publish-action@main
with:
organization: appwrite
directory: ./v2/pink-sb
secret: ${{ secrets.TRY_MODULE_SECRET }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish @appwrite.io/pink-icons-svelte
uses: pkg-vc/publish-action@main
with:
organization: appwrite
directory: ./v2/pink-icons
secret: ${{ secrets.TRY_MODULE_SECRET }}
github-token: ${{ secrets.GITHUB_TOKEN }}
🤖 Prompt for AI Agents
.github/workflows/pkg-vc.yml lines 26-39: the publish steps currently use
repository secrets and will fail or leak secrets when run on pull_request
events; guard the job or steps to avoid running when github.event_name ==
'pull_request' (or only run on push to protected branches) or alternatively
conditionally pass secrets so they are only used when not a PR (e.g., add an if
condition at the job or step level to skip publishing on pull_request and ensure
secrets are never referenced for PR runs).

50 changes: 31 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
name: Tests

on:
push:
branches: [main]
pull_request:
branches: [main]
push:
branches: [main]
pull_request:
branches: ["**"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run Linter
run: npm run lint
continue-on-error: true
- name: Build packages
run: npm run build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20
Comment on lines +13 to +17
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Upgrade core actions to v4 (v2 is EOL on modern runners).

checkout@v2 and setup-node@v2 will fail on current GitHub-hosted runners. Move to v4 and enable pnpm cache.

-            - uses: actions/checkout@v2
+            - uses: actions/checkout@v4
             - name: Use Node.js
-              uses: actions/setup-node@v2
+              uses: actions/setup-node@v4
               with:
                   node-version: 20
+                  cache: 'pnpm'
+                  cache-dependency-path: pnpm-lock.yaml
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 20
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
🧰 Tools
🪛 actionlint (1.7.7)

13-13: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


15-15: the runner of "actions/setup-node@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🤖 Prompt for AI Agents
.github/workflows/tests.yml around lines 13 to 17: the workflow is using
actions/checkout@v2 and actions/setup-node@v2 which are EOL; update them to
actions/checkout@v4 and actions/setup-node@v4 (keeping node-version: 20) and
enable pnpm caching by adding the setup-node cache configuration (e.g., cache:
"pnpm" and appropriate cache-dependency-path pointing at pnpm-lock.yaml or
workspace lockfile) so the job runs on modern GitHub runners and benefits from
pnpm cache.

- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm run build
- name: Run Linter
run: pnpm run lint
- name: Run tests
run: |
pnpm dev &
pnpm run test
Comment on lines +26 to +29
Copy link

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Wait for dev server to be ready to avoid flaky tests.

Start server, wait on a health URL, then run tests and clean up.

-            - name: Run tests
-              run: |
-                  pnpm dev &
-                  pnpm run test
+            - name: Run tests
+              run: |
+                  pnpm dev & SERVER_PID=$!
+                  npx wait-on http://localhost:5173
+                  pnpm run test
+                  kill $SERVER_PID

If the URL/port differs, replace it accordingly.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Run tests
run: |
pnpm dev &
pnpm run test
- name: Run tests
run: |
pnpm dev & SERVER_PID=$!
npx wait-on http://localhost:5173
pnpm run test
kill $SERVER_PID
🤖 Prompt for AI Agents
In .github/workflows/tests.yml around lines 26 to 29, the workflow starts the
dev server and immediately runs tests which can cause flakes; modify the step to
start the server in the background while capturing its PID, poll a health URL
(e.g., http://localhost:3000/health) with a timeout and exponential/backoff
retry until it returns a successful status, then run the test command, and
finally kill the background server using the captured PID in a cleanup/finally
style to ensure it is stopped; replace the health URL/port if your app exposes a
different endpoint.

- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: genauigkeit-report
path: |
v2/pink-sb/.genauigkeit/report/index.html
retention-days: 30
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ icons-dist/
*.local
.turbo
.vercel
.idea
.idea
.zed
.vscode
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
engine-strict=true
auto-install-peers=true
legacy-peer-deps=true
node-linker=hoisted
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"useTabs": false,
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100
}
8 changes: 0 additions & 8 deletions .stylelintrc.json

This file was deleted.

8 changes: 0 additions & 8 deletions apps/kitchensink/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions apps/kitchensink/README.md

This file was deleted.

Loading
Loading