Skip to content

Commit d50d939

Browse files
feat: v4 (#590)
* chore: start from scratch * feat(db): implement db schema and migration from JSON to SQLite (#504) * feat(api): add snippets, folders & tags CRUDs, API client (#505) * feat(api): add snippets, folders & tags CRUDs * refactor(api): update DTOs for folders and snippets * feat(api): generate API client and add ky for HTTP requests * chore(build): disable hardened runtime and set identity to null * feat: add base 3 column layout with gutter resizer (#506) * chore(build): disable hardened runtime and set identity to null * feat: add base 3 column layout with gutter resizer * Merge branch 'v4' of github.com:massCodeIO/massCode into v4 * feat: add fodler tree, sidebar (#508) * feat(folders): implement folder tree structure with order management * fix(folders): use recursive folder tree type definition * chore(folders): clean * feat(ui): add folder tree with drag-and-drop functionality * chore(sidebar): update error logging messages in folder operations * refactor(sidebar): rename app-tree to folder-tree * feat(sidebar): add folder icons * fix: improve layout and responsiveness of folder tree nodes * fix: show between line during drag-and-drop * refactor: use tw classes * feat(ui): add button * feat(sidebar): add library items & add folder * feat: add snippet list and search functionality (#509) * feat: add snipptet list & base functionality * feat: enhance editor and sidebar with search functionality and UI improvements * feat: add dark mode, update color tokens (#511) * feat(ui): add context menu (#513) * refactor: move folder tree into sidebar, use app for highlighted state (#514) * feat(snippets): add filter support with inbox, favorites, all, and trash (#515) * feat: add editor (#517) * feat: add editor & languages support * feat: add debounced queue update mechanism for snippets and contents * feat(editor): add description toggle and input focus functionality * feat(ui): add tooltip components and color tokens for tooltips * feat(ui): add command, dialog, popover, and scroll area components for enhanced UI interactions * fix(api): remove duplicates in contents (#518) * style(ui): adjust footer layout and button styling * feat(editor): add context menu and inline editing for tabs (#519) * fix(snippet): show 'Inbox' label * feat: add i18n (#520) * fix(api): snippet search * fix(snippets): selected snippet * fix(snippets): update snippet retrieval to include search query * feat(editor): add empty state * fix(editor): ensure value and language are set correctly on snippet selection * fix(snippets): improve snippet selection handling via search * fix(editor): prevent unnecessary updates during programmatic changes * feat(snippets): create, delete & duplicate (#521) * fix(snippets): ensure first snippet is selected only when deleted snippet is currently selected * style(ui): add focus-visible outline to ScrollAreaViewport and active state to ScrollAreaThumb * feat(snippets): add drag & drop for move snippets into folder (#522) * refactor(snippets): replace snippets handling with computed displayedSnippets * feat(snippets): add drag & drop for move snippets into folder * feat: add multiple drag & drop * refactor: add useFolders composable for folder management * feat: add scrolling to selected folder and snippet on initialization * feat(folders): add CRUD (#523) * fix(folders): add recursive soft delete for folders and associated snippets * feat(folders): add CRUD * fix(snippets): display correct folder/library name * refactor(api): improve error handling * fix(snippets): use soft delete * feat(snippets): delete snippet by condition * feat(snippets): add multi delete (#524) * refactor(api): use PATCH method to update snippets & folders (#525) * refactor(api): use PATCH method to update snippets * refactor(api): use PATCH method to update folders * build: optimize dev start, copy locales * feat(dialog): add useDialog composable for dialog management (#527) * feat(dialog): add useDialog composable for dialog management * style(ui): adjust padding and positioning in dialog components * feat(snippets): add confirm dialog for delete actions (#528) * feat(snippets): add confirm dialog for delete actions * feat(locales): update locales * fix(dialog): conditionally render dialog description in useDialog composable * fix(snippets): update dialog property name from description to content * feat(snippets): add empty trash (#529) * build: fix refresh electron * chore: update document title to massCode * feat(ui): add textarea component * feat(ui): replace input with textarea in Description component * feat(ui): use perfect scrollbar in textarea * feat(ui): replace ScrollArea with PerfectScrollbar and update scrollbar styles (#530)
1 parent 834eb28 commit d50d939

File tree

742 files changed

+31417
-43373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

742 files changed

+31417
-43373
lines changed

.editorconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
1212
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13-
custom: ['paypal.me/antongithub', antonreshetov.gumroad.com/l/masscode]
13+
custom: [paypal.me/antongithub, antonreshetov.gumroad.com/l/masscode]

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "\U0001F41E Bug report"
1+
name: 🐞 Bug report
22
description: Report an issue with massCode
3-
title: "[Bug]: "
3+
title: '[Bug]: '
44
labels: [pending triage]
55
body:
66
- type: markdown
@@ -53,4 +53,4 @@ body:
5353
- label: Check that there isn't [already an issue](https://github.com/massCodeIO/massCode/issues) that reports the same bug to avoid creating a duplicate.
5454
required: true
5555
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/massCodeIO/massCode/discussions).
56-
required: true
56+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Questions & Discussions
44
url: https://github.com/massCodeIO/massCode/discussions
5-
about: Use GitHub discussions for message-board style questions and discussions.
5+
about: Use GitHub discussions for message-board style questions and discussions.

.github/assets/logo.png

69.9 KB
Loading

.github/workflows/issue-close-require.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Issue Close Require
22

33
on:
44
schedule:
5-
- cron: "0 0 * * *"
5+
- cron: '0 0 * * *'
66

77
jobs:
88
close-issues:
@@ -11,7 +11,7 @@ jobs:
1111
- name: need reproduction
1212
uses: actions-cool/issues-helper@v3
1313
with:
14-
actions: "close-issues"
14+
actions: close-issues
1515
token: ${{ secrets.GITHUB_TOKEN }}
16-
labels: "need reproduction"
17-
inactive-day: 3
16+
labels: need reproduction
17+
inactive-day: 3

.github/workflows/issue-labeled.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
if: github.event.label.name == 'need reproduction'
1414
uses: actions-cool/issues-helper@v3
1515
with:
16-
actions: "create-comment, remove-labels"
16+
actions: 'create-comment, remove-labels'
1717
token: ${{ secrets.GITHUB_TOKEN }}
1818
issue-number: ${{ github.event.issue.number }}
1919
body: |
20-
Hello @${{ github.event.issue.user.login }}. Please describe in detail the sequence of actions that leads to the bug (skip it if it's already there). Add screenshots of errors from the console. If possible add a video. Issues marked with `need reproduction` will be closed if they have no activity within 3 days.
21-
labels: "pending triage"
20+
Hello @${{ github.event.issue.user.login }}. Please describe in detail the sequence of actions that leads to the bug (skip it if it's already there). Add screenshots of errors from the console. If possible add a video. Issues marked with `need reproduction` will be closed if they have no activity within 3 days.
21+
labels: pending triage

.github/workflows/release-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Add GitHub Release Tag
33
on:
44
push:
55
tags:
6-
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
6+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
77

88
jobs:
99
build:
@@ -23,4 +23,4 @@ jobs:
2323
with:
2424
tag_name: ${{ github.ref }}
2525
draft: true
26-
preset: angular # Use conventional-changelog preset
26+
preset: angular # Use conventional-changelog preset

0 commit comments

Comments
 (0)