Commit Graph
5224 Commits
Author SHA1 Message Date
Oleg Isonen 5a76692d94 wip text editor 2022-06-22 10:51:15 +02:00
Oleg Isonen 296158ebe5 imported emoji example 2022-06-21 16:56:06 +02:00
Oleg Isonen f7b83665e3 add storybook setup 2022-06-21 16:28:18 +02:00
Oleg Isonen 6c8a9a1a26 add storybook setup 2022-06-21 16:27:55 +02:00
Oleg Isonen f06a41d9c0 Merge branch 'main' into 68-move-content-editable-toolbar-to-workspace-tools 2022-06-21 14:41:29 +02:00
Oleg Isonen 443533cd04 Merge pull request #76 from webstudio-is/scroll-state-for-canvas-tools
Scroll state inside the iframe needs to be considered for tools positioning
2022-06-20 19:10:47 +02:00
Oleg Isonen b30a533c75 Merge branch 'main' into 24-support-component-story-format-csf 2022-06-20 18:26:40 +02:00
Oleg Isonen 4052b2cea6 explain why root route exports default outlet 2022-06-20 03:31:58 +02:00
Oleg Isonen e3b2d1cec0 cleanup and reuse layout
we have 2 types of documents: canvas and designer

canvas is used only for the /canvas and the /preview routes, the rest is designer until we have some special case where we need a different document for a page
2022-06-20 03:28:22 +02:00
Oleg Isonen 3f6a1878c2 format with prettier 2022-06-20 00:46:19 +02:00
Oleg Isonen fd15c17685 add prettier checks 2022-06-20 00:46:01 +02:00
Sara Vieira 5c492469c7 PR fixes 2022-06-19 23:39:58 +02:00
Sara Vieira ebae218f70 PR fixes 2022-06-19 23:37:55 +02:00
Sara Vieira 7661656188 fix avatar image 2022-06-19 23:33:17 +02:00
Sara Vieira a4e78cfd98 small PR fixes 2022-06-19 21:18:29 +02:00
Sara Vieira 8edff40e91 Merge branch 'auth' of github.com:webstudio-is/webstudio-designer into auth 2022-06-19 21:14:29 +02:00
Sara Vieira a6a4ceaac4 add dev login 2022-06-19 21:14:19 +02:00
Oleg Isonen 6e200b5907 no auth secret is better than an empty string 2022-06-19 21:12:59 +02:00
Oleg Isonen b3d10eb61a avoid "as" 2022-06-19 20:53:19 +02:00
Oleg Isonen cebe37f788 remove "as" 2022-06-19 20:50:24 +02:00
Oleg Isonen 93c0d8e208 Merge branch 'main' into auth 2022-06-19 19:58:29 +02:00
Oleg Isonen 454cf6ad05 fixing cursor, menu really shoulnd't have pointer, also got a ts error because of duplicate property 2022-06-19 19:40:56 +02:00
Sara Vieira 5b5c4ff62b add chevron 2022-06-19 18:51:45 +02:00
Sara Vieira 6fe2ea1b11 small PR fixes 2022-06-18 23:15:25 +02:00
Sara VieiraandOleg Isonen ce61e07056 Update app/config.ts
Co-authored-by: Oleg Isonen <oleg008@gmail.com>
2022-06-18 23:13:54 +02:00
Sara VieiraandOleg Isonen 463fef07e4 Update app/config.ts
Co-authored-by: Oleg Isonen <oleg008@gmail.com>
2022-06-18 23:13:46 +02:00
Oleg Isonen d7e4363c7f don't add padding to root element 2022-06-18 20:32:14 +02:00
Oleg Isonen 641914d9bd scroll state inside the iframe needs to be considered for tools positioning 2022-06-18 14:02:06 +02:00
Sara Vieira 4a496c7403 fix login redirects 2022-06-18 12:03:36 +02:00
Oleg Isonen d6ed80256b fix selecting instance from left sidebar and breadcrumbs 2022-06-17 21:52:29 +02:00
Oleg Isonen f396aaac58 wip moving text toolbar to the main document 2022-06-17 16:06:32 +02:00
Sara Vieira 6aca811362 fix types and add backup image for user 2022-06-17 14:41:29 +02:00
Sara Vieira 945e9a8671 add didabled in google 2022-06-17 14:29:48 +02:00
Sara Vieira 3494d6bd7d add logout link 2022-06-17 14:27:56 +02:00
Sara Vieira b2a705fbab better file structure 2022-06-16 16:55:09 +02:00
Sara Vieira 4b295e7a5a migrate projects 2022-06-16 16:47:34 +02:00
Sara Vieira d34b2bd0eb Merge branch 'main' of github.com:webstudio-is/webstudio-designer into auth 2022-06-16 16:16:43 +02:00
Oleg Isonen c4c16acf41 Merge pull request #63 from webstudio-is/56-better-instance-outline--outside-iframe
Better instance outline from outside iframe
2022-06-16 12:36:56 +01:00
Oleg Isonen 5f2d199c3e refix selecting the instance
- new added instance get selected
- when instance is deleted closests instance get selected
- click on workspace unselects an instance
2022-06-15 21:29:12 +02:00
Oleg Isonen 47f6b410eb fix the empty selector 2022-06-15 19:26:46 +02:00
Oleg Isonen b80bbc0002 use relative unit for line-height to avoid a fixed line-height being inherited and then be wrong for an element that didn't define own line-height 2022-06-15 18:42:41 +02:00
Oleg Isonen 9443a17cc1 for now make outline for hover/selected look the same
this avoids broken look when they overlap
2022-06-15 18:42:02 +02:00
Oleg Isonen 55e39b7047 make hovered image always render on top based on source order, no need for z-index 2022-06-15 18:25:52 +02:00
Oleg Isonen 8f04922f76 remove focus event handling on the canvas
I think now that design-mode of canvas is not supposed to treat focus events same way as preview/published site
2022-06-15 17:24:52 +02:00
Oleg Isonen a5e1bb4c06 use resize observer to track instance client rect changes 2022-06-15 17:12:28 +02:00
Oleg Isonen 0267c0ab72 don't show hover outlines for selected instance 2022-06-15 16:42:33 +02:00
Sara Vieira 3ad34f2a59 add styles 2022-06-15 16:34:34 +02:00
Oleg Isonen 56e2af1c95 prevent line break on outline label - if element is small it would go multi line if label has space e.g. Bold Text 2022-06-15 15:41:46 +02:00
Oleg Isonen 58bf7afd4d lint 2022-06-15 15:36:16 +02:00
Oleg Isonen df51975cd4 ensure selected element stays selected after switching to preview mode and back 2022-06-15 15:30:45 +02:00