134 Commits

Author SHA1 Message Date
Elena Torró
c8f5ec4698
♻️ Refactor dropdown-menu and make dropdown visibility exclusive (#6956)
* 🐛 Fix having multiple dropdown menus opened on dashboard page

* ♻️ Refactor dropdown-menu

Make it follow new standards and make it external api more usable,
not depending on manually provided list of ids.

This also implements the autoclosing of "other" active/open
dropdown-menu (or other similar components).

* 📎 Add PR feedback changes

* 🐛 Fix incorrect event handling on project-menu

* 🐛 Fix unexpected exception

---------

Co-authored-by: Andrey Antukh <niwi@niwi.nz>
2025-08-01 16:14:15 +02:00
Andrey Antukh
283eb0419c ♻️ Refactor time related namespaces
Mainly removes the custom app.util.time namespace
from frontend and backend and normalize all to use
the app.common.time namespace
2025-08-01 11:20:01 +02:00
Alejandro Alonso
82583f5079 🐛 Fix entering long project name 2025-06-25 14:21:52 +02:00
Miguel de Benito Delgado
e22a55334e
💄 Rename some namespace aliases for consistency (#6485) 2025-05-15 17:43:02 +02:00
Andrey Antukh
3da8b945ca 📎 Don't send unnecesary features to worker 2025-05-08 13:35:24 +02:00
Andrey Antukh
40fe6369cb Merge remote-tracking branch 'origin/staging' into develop 2025-04-23 08:59:33 +02:00
Andrey Antukh
1194e40222 🐛 Properly dispose rx subscription on grid thumbnail component 2025-04-22 21:39:57 +02:00
Pablo Alba
064981ff3d Merge remote-tracking branch 'origin/staging' into develop 2025-04-22 10:44:29 +02:00
Andrey Antukh
708492afeb 💄 Add mainly cosmetic changes to dashboard placeholder components 2025-04-17 09:20:35 +02:00
Andrey Antukh
1305ab3cc6 🐛 Fix issue with empty placeholder on team change 2025-04-17 09:20:34 +02:00
Pablo Alba
af1d5b86e1
Merge pull request #6214 from penpot/palba-cleanup-components-v2
♻️ Cleanup of componentsv2
 Add check to avoid open files with components v1
2025-04-07 10:18:53 +02:00
Andrey Antukh
bc957893f4 Make feature resolved on team load
That simplifies features retrieval to simple get
2025-04-07 07:50:40 +02:00
Pablo Alba
f961b75bba ♻️ Cleanup of componentsv2 2025-04-03 11:38:35 +02:00
Andrey Antukh
f8ffae75c4 Make feature resolved on team load
That simplifies features retrieval to simple get
2025-04-01 20:01:21 +02:00
Andrey Antukh
05d6d2fcd4
🐛 Fix several corner cases that causes race conditions on workspace and dashboard loading
* 🐛 Fix several race conditions on workspace and dashboard code

It also fixes a corner case that happens when penpot workspace
is loaded in a background tab on firefox.

* 🐛 Add missing team-id prop to several file returning endpoints
2025-03-14 09:55:41 +01:00
Andrey Antukh
24cb1728b0
🐛 Fix context menu event handling issues (#5917)
* 💄 Change call convention for dashboard grid component

* 🎉 Add helper component for easy portal to document

* 🐛 Fix context menu event handling issues

With this commit, the behavior of context menu and scroll is changed
to: close menu on scroll instead of disabling all pointer events while
menu is open. The previous behavior causes a second event of context
menu open a native browser context menu instead of penpot menu.
2025-02-21 07:57:56 +01:00
Belén Albeza
cad7d75590
🐛 Fix libraries context menu (#5854)
*  Add integration test for Bug #10421

* 🐛 Fix dashboard library item menu

*  Fixup integration test
2025-02-14 14:34:54 +01:00
Alonso Torres
ceb90cd9e0
🐛 Fix problem with dashboard multiple selection (#5836) 2025-02-12 14:34:05 +01:00
Pablo Alba
43cde4e5e4
🎉 Add A/B test for first state of a project (#5691) 2025-02-03 12:52:51 +01:00
Pablo Alba
6bd1f19e36 🐛 Fix on libraries section, items shouldn't have context menu 2025-01-02 12:53:19 +01:00
Xaviju
8a4fbf385c 🐛 fix color-bullet props error 2024-12-13 13:52:01 +01:00
Andrey Antukh
bdb777516e Merge remote-tracking branch 'origin/staging' into develop 2024-12-10 10:46:38 +01:00
Andrey Antukh
2f79d71262 🐛 Fix incorrect event handling on file-menu
Don't wait team to be present for open the menu,
because with slow connection speed it can cause
unexpected ux glitche showing menu when the component
inner request is resoved
2024-12-09 10:15:13 +01:00
Andrey Antukh
3e090b126e ♻️ Refactor application routing
Mainly removes an inconsistent use of path params and normalize
all routes to use query params for make it extensible without
breaking urls.
2024-12-03 18:23:41 +01:00
Andrey Antukh
b17d7c0289 ♻️ Refactor dashboard bootstrap 2024-12-03 11:55:31 +01:00
Andrey Antukh
4f4ef6f1f2 Refresh members after accept team request access 2024-11-13 14:16:21 +01:00
Pablo Alba
e1e13bcfb1 Fix a viewer can drop a .penpot file on dashboard 2024-11-11 13:19:30 +01:00
Andrey Antukh
607deb31dc ♻️ Refactor bundle mechanism
Mainly leave shadow-cljs for build cljs stuff and use esbuild
for bundle all js dependencies, completly avoiding all possible
incompatibility issues between js libraries and google closure
compiler.
2024-11-01 10:04:03 +01:00
Andrey Antukh
6b997928e5 💄 Add minor improvements to dashboard file menu 2024-10-21 12:36:01 +02:00
Andrey Antukh
ee533e2644 Prevent warning of button inside button on dashboard 2024-10-21 12:36:01 +02:00
Andrey Antukh
d6da8afdce Add improved abstraction for team permissions
Relevant changes:
- replace user-viewer? with can-edit removing many double
  negations on the code
- always use team permissions making the permissions access uniform
  around all the code
- expose team permissions to ui tree through ctx/team-permissions
  context
2024-10-21 12:36:01 +02:00
Pablo Alba
cf150891df Add view mode to dashboard 2024-10-15 13:32:33 +02:00
Andrey Antukh
f187012469 ♻️ Refactor naming and location of flash notifications 2024-08-07 15:04:52 +02:00
Eva Marco
7c75af83b3
Merge pull request #4904 from penpot/eva-substitude-loader-component
♻️  Replacing the old Pencil loader with the new Loader component
2024-07-29 10:08:08 +02:00
Belén Albeza
39b2c1722a ♻️ Refactor loader* component props & usage 2024-07-29 09:20:06 +02:00
Andrey Antukh
defcef3e59 Resolve file thumbnail on frontend instead of backend 2024-07-25 15:17:41 +02:00
Eva Marco
af5a189d04 ♻️ Replacing the old Pencil loader with the new Loader component 2024-07-24 17:06:13 +02:00
Andrey Antukh
526f6ef841 🐛 Fix release build issue
Caused by an unsolved corner case of the interaction of code-move
between modules and types defined with reify. Mainly moves some
definition of protocol to one module and the definition of the type
to other, and as the definition of the type is conditional to the
function execution, the whole build fails to initialize because the
second protocol extension implementation can't find the type initialized
on application startup.
2024-03-20 16:12:00 +01:00
AzazelN28
4378f132b4 🐛 Fix dashboard thumbnails with strokes 2024-03-20 06:44:23 +01:00
alonso.torres
8850fd8894 🐛 Fix problem dragging in draft/projects screen 2024-03-15 15:34:16 +01:00
alonso.torres
6bf3363429 🐛 Fix scroll when file menu open 2024-03-14 14:19:55 +01:00
Eva Marco
ca7438aab5 ♻️ Rename all icon functions 2024-03-08 16:07:38 +01:00
Eva Marco
5739c0797c ♻️ Rename all refactored icons 2024-03-08 16:07:38 +01:00
Eva Marco
d488d69abc ♻️ Remove old color bullet component 2024-03-08 15:31:29 +01:00
Belén Albeza
233e7e7e87 🐛 Use new icon for menu action in project grid 2024-02-29 09:38:41 +01:00
Andrey Antukh
98cae9fe10 🐛 Fix unexpected exception on consecutive delete files with shift key pressed
If you select N files (using shift key), then delete them and continuing
pressing the shift select an other file and proceed to delete it an
exception is raised. This is happens because the previous selection is
not cleared. This commit fixes that.
2024-01-24 11:56:57 +01:00
Andrey Antukh
840753aae3 🐛 Fix react warning about missing key on grid component 2024-01-24 11:28:41 +01:00
Aitor
8f867c03de 🐛 Card menu is hard to launch after search 2024-01-17 10:19:30 +01:00
Eva
0b2ad569a1 🐛 Fix library icons on dashboard 2024-01-15 10:35:30 +01:00
Andrey Antukh
833871df65 💄 Format frontend code 2024-01-08 09:32:50 +01:00