From 7aa7234a4fa2ac2d904aed5e206c543b82efb17e Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 4 Jul 2018 16:36:04 +0200 Subject: [PATCH 1/5] Readme updated. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b73861532..234963412 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,18 @@ Squidex is an open source headless CMS and content management hub. In contrast to a traditional CMS Squidex provides a rich API with OData filter and Swagger definitions. It is up to you to build your UI on top of it. It can be website, a native app or just another server. We build it with ASP.NET Core and CQRS and is tested for Windows and Linux on modern browsers. -[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?style=square)](https://gitter.im/squidex-cms/Lobby) [![Slack](https://img.shields.io/badge/chat-on_slack-E01765.svg?style=square)](https://squidex-slack.herokuapp.com/) [![Build Status](http://build.squidex.io/api/badges/Squidex/squidex/status.svg)](http://build.squidex.io/Squidex/squidex) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSquidex%2Fsquidex.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FSquidex%2Fsquidex?ref=badge_shield) +[![Discourse topics](https://img.shields.io/discourse/https/support.squidex.io/topics.svg)](https://support.squidex.io) + [![Build Status](http://build.squidex.io/api/badges/Squidex/squidex/status.svg)](http://build.squidex.io/Squidex/squidex) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSquidex%2Fsquidex.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FSquidex%2Fsquidex?ref=badge_shield) Read the docs at [https://docs.squidex.io/](https://docs.squidex.io/) (work in progress) or just check out the code and play around. +## How to make feature requests or report bugs? + +Please join our community forum: https://support.squidex.io + ## Status -Current Version 1.6. Roadmap: https://trello.com/b/KakM4F3S/squidex-roadmap +Current Version 1.8.0. Roadmap: https://trello.com/b/KakM4F3S/squidex-roadmap ## Prerequisites From 7e1b4fddc851dcc01256c930a4784ae1efd6a328 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 4 Jul 2018 17:33:16 +0200 Subject: [PATCH 2/5] Link to support forum. --- README.md | 10 +- .../internal/internal-area.component.html | 14 +- .../internal/internal-area.component.scss | 51 +- .../app/theme/icomoon/demo-files/demo.css | 6 +- src/Squidex/app/theme/icomoon/demo.html | 998 +++---- .../app/theme/icomoon/fonts/icomoon.eot | Bin 24880 -> 25124 bytes .../app/theme/icomoon/fonts/icomoon.svg | 2 + .../app/theme/icomoon/fonts/icomoon.ttf | Bin 24716 -> 24960 bytes .../app/theme/icomoon/fonts/icomoon.woff | Bin 24792 -> 25036 bytes src/Squidex/app/theme/icomoon/selection.json | 2328 +++++++++-------- src/Squidex/app/theme/icomoon/style.css | 296 ++- 11 files changed, 1903 insertions(+), 1802 deletions(-) diff --git a/README.md b/README.md index 234963412..60da86bbc 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,11 @@ Squidex is an open source headless CMS and content management hub. In contrast to a traditional CMS Squidex provides a rich API with OData filter and Swagger definitions. It is up to you to build your UI on top of it. It can be website, a native app or just another server. We build it with ASP.NET Core and CQRS and is tested for Windows and Linux on modern browsers. -[![Discourse topics](https://img.shields.io/discourse/https/support.squidex.io/topics.svg)](https://support.squidex.io) - [![Build Status](http://build.squidex.io/api/badges/Squidex/squidex/status.svg)](http://build.squidex.io/Squidex/squidex) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSquidex%2Fsquidex.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FSquidex%2Fsquidex?ref=badge_shield) +[![Discourse topics](https://img.shields.io/discourse/https/support.squidex.io/topics.svg)](https://support.squidex.io) [![Build Status](http://build.squidex.io/api/badges/Squidex/squidex/status.svg)](http://build.squidex.io/Squidex/squidex) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSquidex%2Fsquidex.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FSquidex%2Fsquidex?ref=badge_shield) Read the docs at [https://docs.squidex.io/](https://docs.squidex.io/) (work in progress) or just check out the code and play around. -## How to make feature requests or report bugs? +## How to make feature requests or report bugs? Please join our community forum: https://support.squidex.io @@ -20,10 +19,9 @@ Current Version 1.8.0. Roadmap: https://trello.com/b/KakM4F3S/squidex-roadmap ## Prerequisites * [Visual Studio Code](https://code.visualstudio.com/) or [Visual Studio 2017](https://www.visualstudio.com/vs/visual-studio-2017-rc/) -* [Node.js](https://nodejs.org/en/) -* [.NET Core SDK](https://www.microsoft.com/net/download/core#/current) (Already part of Visual Studio 2017) +* [Node.js](https://nodejs.org/en/) (development only) * [MongoDB](https://www.mongodb.com/) -* [Redis](https://redis.io/download) (If you want to run Squidex on multiple hosts) +* [.NET Core SDK](https://www.microsoft.com/net/download/core#/current) (Already part of Visual Studio 2017) ## Contributors diff --git a/src/Squidex/app/shell/pages/internal/internal-area.component.html b/src/Squidex/app/shell/pages/internal/internal-area.component.html index c14369e8b..c6bbe47b6 100644 --- a/src/Squidex/app/shell/pages/internal/internal-area.component.html +++ b/src/Squidex/app/shell/pages/internal/internal-area.component.html @@ -16,10 +16,12 @@ - - - - Github - + +
+ +
- +
+ Get help and support +
+
\ No newline at end of file diff --git a/src/Squidex/app/shell/pages/internal/internal-area.component.scss b/src/Squidex/app/shell/pages/internal/internal-area.component.scss index 95f49531b..539b0ed79 100644 --- a/src/Squidex/app/shell/pages/internal/internal-area.component.scss +++ b/src/Squidex/app/shell/pages/internal/internal-area.component.scss @@ -23,49 +23,52 @@ float: left; } -.github { +$support-icon-size: 50px; +$support-text-size: 200px; + +.support { &-button { & { - @include fixed(50%, -103px, auto, auto); - @include border-radius-left(3px); + @include fixed(50%, -$support-text-size, auto, auto); @include transition(transform .3s ease); - background: lighten($color-extern-github, 10%); - border: 0; - cursor: pointer; - color: $color-dark-foreground; - margin-top: -60px; - padding-left: 65px; + background: $color-theme-blue; font-size: .9rem; font-weight: bold; - height: 44px; - line-height: 40px; - width: 147px; - z-index: 1000000094; + height: $support-icon-size; + line-break: normal; + line-height: $support-icon-size - 6px; + z-index: 100000000; } &:hover { & { - @include translate(-103px, 0); + @include translate(-$support-text-size, 0); text-decoration: none; } - .github-icon { - background: $color-extern-github; + .support-icon { + background: $color-theme-blue-dark; } } } + &-icon, + &-text { + cursor: pointer; + color: $color-dark-foreground; + text-align: center; + } + + &-text { + width: $support-text-size; + } + &-icon { - @include absolute(0, auto, auto, 0); - @include border-radius-left(3px); @include transition(background-color .4s ease); - background: lighten($color-extern-github, 10%); - display: inline-block; - line-height: 44px; + background: $color-theme-blue; + line-height: $support-icon-size; font-size: 1.5rem; font-weight: normal; - width: 44px; - text-align: center; - color: $color-dark-foreground; + width: $support-icon-size; } } \ No newline at end of file diff --git a/src/Squidex/app/theme/icomoon/demo-files/demo.css b/src/Squidex/app/theme/icomoon/demo-files/demo.css index 06c37496a..9c149f296 100644 --- a/src/Squidex/app/theme/icomoon/demo-files/demo.css +++ b/src/Squidex/app/theme/icomoon/demo-files/demo.css @@ -147,19 +147,19 @@ p { font-size: 16px; } .fs1 { - font-size: 28px; + font-size: 24px; } .fs2 { font-size: 32px; } .fs3 { - font-size: 32px; + font-size: 28px; } .fs4 { font-size: 32px; } .fs5 { - font-size: 24px; + font-size: 32px; } .fs6 { font-size: 20px; diff --git a/src/Squidex/app/theme/icomoon/demo.html b/src/Squidex/app/theme/icomoon/demo.html index 42b1ac10c..c385962d3 100644 --- a/src/Squidex/app/theme/icomoon/demo.html +++ b/src/Squidex/app/theme/icomoon/demo.html @@ -9,20 +9,20 @@
-

Font Name: icomoon (Glyphs: 92)

+

Font Name: icomoon (Glyphs: 94)

-

Grid Size: 14

+

Grid Size: 24

- + - icon-single-content + icon-support
- - + +
liga: @@ -31,14 +31,14 @@
- + - icon-multiple-content + icon-control-RichText
- - + +
liga: @@ -47,465 +47,465 @@
- + - icon-type-Array + icon-download
- - + +
liga:
-
+
+
+

Grid Size: Unknown

+
- + - icon-exclamation + icon-action-Medium
- - + +
liga:
-
+
- + - icon-action-ElasticSearch + icon-circle
- - + +
liga:
-
+
- + - icon-action-Slack + icon-action-Fastly
- - + +
liga:
-
+
- + - icon-orleans + icon-control-Slug
- - + +
liga:
-
+
- + - icon-document-lock + icon-action-Algolia
- - + +
liga:
-
+
- + - icon-document-unpublish + icon-type-Tags
- - + +
liga:
-
+
- + - icon-angle-down + icon-activity
- - + +
liga:
-
+
- + - icon-angle-left + icon-history
- - + +
liga:
-
+
- + - icon-angle-right + icon-time
- - + +
liga:
-
+
- + - icon-angle-up + icon-add
- - + +
liga:
-
+
- + - icon-api + icon-plus
- - + +
liga:
-
+
- + - icon-assets + icon-check-circle
- - + +
liga:
-
+
- + - icon-bug + icon-check-circle-filled
- - + +
liga:
-
+
- + - icon-caret-down + icon-close
- - + +
liga:
-
+
- + - icon-caret-left + icon-type-References
- - + +
liga:
-
+
- + - icon-caret-right + icon-control-Checkbox
- - + +
liga:
-
+
- + - icon-caret-up + icon-control-Dropdown
- - + +
liga:
-
+
- + - icon-contents + icon-control-Input
- - + +
liga:
-
+
- + - icon-trigger-ContentChanged + icon-control-Radio
- - + +
liga:
-
+
- + - icon-control-Date + icon-control-TextArea
- - + +
liga:
-
+
- + - icon-control-DateTime + icon-control-Toggle
- - + +
liga:
-
+
- + - icon-control-Markdown + icon-copy
- - + +
liga:
-
+
- + - icon-grid + icon-dashboard
- - + +
liga:
-
+
- + - icon-list + icon-delete
- - + +
liga:
-
+
- + - icon-user-o + icon-bin
- - + +
liga:
-
+
- + - icon-rules + icon-delete-filled
- - + +
liga:
-
+
- + - icon-action-Webhook + icon-document-delete
- - + +
liga:
-
-
-

Grid Size: 16

- + - icon-hour-glass + icon-document-disable
- - + +
liga: @@ -514,14 +514,14 @@
- + - icon-spinner + icon-document-publish
- - + +
liga: @@ -530,14 +530,14 @@
- + - icon-clock + icon-drag
- - + +
liga: @@ -546,14 +546,14 @@
- + - icon-bin2 + icon-filter
- - + +
liga: @@ -562,30 +562,30 @@
- + - icon-earth + icon-github
- - + +
liga: - +
- + - icon-elapsed + icon-help
- - + +
liga: @@ -594,14 +594,14 @@
- + - icon-google + icon-location
- - + +
liga: @@ -610,14 +610,14 @@
- + - icon-lock + icon-control-Map
- - + +
liga: @@ -626,14 +626,14 @@
- + - icon-microsoft + icon-type-Geolocation
- - + +
liga: @@ -642,14 +642,14 @@
- + - icon-action-AzureQueue + icon-logo
- - + +
liga: @@ -658,14 +658,14 @@
- + - icon-pause + icon-media
- - + +
liga: @@ -674,14 +674,14 @@
- + - icon-play + icon-type-Assets
- - + +
liga: @@ -690,14 +690,14 @@
- + - icon-reset + icon-trigger-AssetChanged
- - + +
liga: @@ -706,14 +706,14 @@
- + - icon-settings2 + icon-more
- - + +
liga: @@ -722,14 +722,14 @@
- + - icon-timeout + icon-dots
- - + +
liga: @@ -738,177 +738,209 @@
- + - icon-unlocked + icon-pencil
- - + +
liga:
-
-
-

Grid Size: Unknown

-
+
- + - icon-circle + icon-reference
- - + +
liga:
-
+
- + - icon-action-Fastly + icon-schemas
- - + + +
+
+ liga: + +
+
+
+
+ + + + icon-search +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + icon-settings +
+
+ +
liga:
-
+
- + - icon-control-Slug + icon-type-Boolean
- - + +
liga:
-
+
- + - icon-action-Algolia + icon-type-DateTime
- - + +
liga:
-
+
- + - icon-type-Tags + icon-type-Json
- - + +
liga:
-
+
- + - icon-activity + icon-json
- - + +
liga:
-
+
- + - icon-history + icon-type-Number
- - + +
liga:
-
+
- + - icon-time + icon-type-String
- - + +
liga:
-
+
- + - icon-add + icon-user
- - + +
liga:
+
+
+

Grid Size: 14

- + - icon-plus + icon-single-content
- - + +
liga: @@ -917,14 +949,14 @@
- + - icon-check-circle + icon-multiple-content
- - + +
liga: @@ -933,14 +965,14 @@
- + - icon-check-circle-filled + icon-type-Array
- - + +
liga: @@ -949,14 +981,14 @@
- + - icon-close + icon-exclamation
- - + +
liga: @@ -965,14 +997,14 @@
- + - icon-type-References + icon-action-ElasticSearch
- - + +
liga: @@ -981,14 +1013,14 @@
- + - icon-control-Checkbox + icon-action-Slack
- - + +
liga: @@ -997,14 +1029,14 @@
- + - icon-control-Dropdown + icon-orleans
- - + +
liga: @@ -1013,14 +1045,14 @@
- + - icon-control-Input + icon-document-lock
- - + +
liga: @@ -1029,14 +1061,14 @@
- + - icon-control-Radio + icon-document-unpublish
- - + +
liga: @@ -1045,14 +1077,14 @@
- + - icon-control-TextArea + icon-angle-down
- - + +
liga: @@ -1061,14 +1093,14 @@
- + - icon-control-Toggle + icon-angle-left
- - + +
liga: @@ -1077,14 +1109,14 @@
- + - icon-copy + icon-angle-right
- - + +
liga: @@ -1093,14 +1125,14 @@
- + - icon-dashboard + icon-angle-up
- - + +
liga: @@ -1109,14 +1141,14 @@
- + - icon-delete + icon-api
- - + +
liga: @@ -1125,14 +1157,14 @@
- + - icon-bin + icon-assets
- - + +
liga: @@ -1141,14 +1173,14 @@
- + - icon-delete-filled + icon-bug
- - + +
liga: @@ -1157,14 +1189,14 @@
- + - icon-document-delete + icon-caret-down
- - + +
liga: @@ -1173,14 +1205,14 @@
- + - icon-document-disable + icon-caret-left
- - + +
liga: @@ -1189,14 +1221,14 @@
- + - icon-document-publish + icon-caret-right
- - + +
liga: @@ -1205,14 +1237,14 @@
- + - icon-drag + icon-caret-up
- - + +
liga: @@ -1221,14 +1253,14 @@
- + - icon-filter + icon-contents
- - + +
liga: @@ -1237,14 +1269,14 @@
- + - icon-github + icon-trigger-ContentChanged
- - + +
liga: @@ -1253,14 +1285,14 @@
- + - icon-help + icon-control-Date
- - + +
liga: @@ -1269,14 +1301,14 @@
- + - icon-location + icon-control-DateTime
- - + +
liga: @@ -1285,14 +1317,14 @@
- + - icon-control-Map + icon-control-Markdown
- - + +
liga: @@ -1301,14 +1333,14 @@
- + - icon-type-Geolocation + icon-grid
- - + +
liga: @@ -1317,14 +1349,14 @@
-
- - + +
liga: @@ -1333,14 +1365,14 @@
- + - icon-media + icon-user-o
- - + +
liga: @@ -1349,14 +1381,14 @@
- + - icon-type-Assets + icon-rules
- - + +
liga: @@ -1365,257 +1397,257 @@
- + - icon-trigger-AssetChanged + icon-action-Webhook
- - + +
liga:
-
+
+
+

Grid Size: 16

+
- + - icon-more + icon-hour-glass
- - + +
liga:
-
+
- + - icon-dots + icon-spinner
- - + +
liga:
-
+
- + - icon-pencil + icon-clock
- - + +
liga:
-
+
- + - icon-reference + icon-bin2
- - + +
liga:
-
+
- + - icon-schemas + icon-earth
- - + +
liga: - +
-
+
- + - icon-search + icon-elapsed
- - + +
liga:
-
+
- + - icon-settings + icon-google
- - + +
liga:
-
+
- + - icon-type-Boolean + icon-lock
- - + +
liga:
-
+
- + - icon-type-DateTime + icon-microsoft
- - + +
liga:
-
+
- + - icon-type-Json + icon-action-AzureQueue
- - + +
liga:
-
+
- + - icon-json + icon-pause
- - + +
liga:
-
+
- + - icon-type-Number + icon-play
- - + +
liga:
-
+
- + - icon-type-String + icon-reset
- - + +
liga:
-
+
- + - icon-user + icon-settings2
- - + +
liga:
-
-
-

Grid Size: 32

- + - icon-browser + icon-timeout
- - + +
liga: @@ -1624,49 +1656,49 @@
- + - icon-checkmark + icon-unlocked
- - + +
liga:
-
+
+
+

Grid Size: 32

+
- + - icon-control-Stars + icon-browser
- - + +
liga:
-
-
-

Grid Size: 24

- + - icon-control-RichText + icon-checkmark
- - + +
liga: @@ -1675,14 +1707,14 @@
- + - icon-download + icon-control-Stars
- - + +
liga: diff --git a/src/Squidex/app/theme/icomoon/fonts/icomoon.eot b/src/Squidex/app/theme/icomoon/fonts/icomoon.eot index 9e1dac2c57499fbe72b8b1632ff2cfe9062bfb1b..7d47c86cfbdde7923012b3b1973b619ae6ae7d6b 100644 GIT binary patch delta 504 zcmYk2Pe>GT6vyBD&A%O*via%ik5#a77sXW(s@c6%bm$NrOe80?+}+uAafn@aK`B=S z7l{b!(6R(Z*Sc&STJ~ZP5>g^wqKii1F;5;OkPfj!&qL7R%j5ID-*@=FcboX?6RMFk zK-sORF}ZHf>{qTnFy8~f2U04NcZ)yl?+2Cbu9fkZ$@>8K4B*bPmvyIG!--*lDT8t` zj}|&pGQ`)2BVK-f;oj@Ehr}M;JkAv|?#*BE9e~6U`CEB+p$H|M1W2wEpPO~_*%vqT zKg8cC|EO4)n+J&;a8oBfND^*Ur|}6+R*x{OJU{EStThD7-d;iS`(=UOWz;W>sqCQJKW2eI&i|4N zXpGf$uFjdhj=#+j+0dFFHA5cZd{hnS__ew2vFm=x5c(?TtGY1oGca%frJ6Jjry)dT z+SIV6nHOUhtn=-`4wBht_4Hmw%VfJD?mIQXS(JxrT-5w17c7czxOmGPE(9+N-YiqV z!E$4H;+E94KV#REEtihrluW$=_R>%H{>|#)-8iNjk*Os_r@EHd<^zX=VsK+)28N!5iEL&p2RENin&?n2xPyU#VGj@|Bib;`nH1n;t~dCkkW)4 zkURr3Gvm?8DU98W5tBbKDzi=&2;rZ$S%N7wd~<44Ftbe3>CFe@`E9;3aI=6kF + + diff --git a/src/Squidex/app/theme/icomoon/fonts/icomoon.ttf b/src/Squidex/app/theme/icomoon/fonts/icomoon.ttf index 0f69edbfc429a92253c31c63d373b37cea1dfff7..a1f6fc322e9d7c727343a6f5098a8c5d0297113c 100644 GIT binary patch delta 551 zcmYk2Ur1AN6vxl`-Q9mUoA;;F%O==$p*WR=we2N?pa+RiF}#N9w!5`9Vrzqqa24z# z5kWo_BPe?AW%VL^F$h^j5_^eWGKwDcNhl)eA$IHRA?OE(FQ4;|-}h|1Li-I?0Rf;3 zY!Kl1+=bAThj+iA%u9+yDsL6Pgg@^C;2?1>W0i`eJ;ZlOl}xU3W${V;I`MsgOSiIV z>vC@(76MpxQ$3QUgv!Je@mbeIg4#M#b{Tp@MFn)?xL0mQyj!%p5>D?$aA z0peT4N3U7=^y72tZ{klhaHm)(mFc7OtVE{{g0S@hu$8f8o`RXe7} zTp*Y*4$vDJ31Qgqqv4g0;D9Fe524oxM^9r|69V`jk7^Z^@!ADm5q<|r7CnG0}sebPOg*Ivok4&SXv5!9Pn01}AAota|UU!0AXF+_% z_2XS| o)7s2R6q5~mm#j~`6v6WfzFCby}lbH8Mx6?=_;0X?sR-2eap delta 289 zcmZoT%-C~~v7UjEfq{XWp@D&!!N5OQ--us`cLz{p4-h9L=Oz~1Hoof#EJrja>ghi{|Jz;ke8U7I@62u zH<14XsG+SOzqkbGP#{Ri0m(BkGasFJpqnvbvJay&>tult{%M;_7*oSHAB+rUmPtCj z`CvT1%~u9)7LXQ(>k%qTVDw~zSaZgN%^9)PjFVr-9puyT(q+^20?LAdBVqHt_(O~U D$`(pc diff --git a/src/Squidex/app/theme/icomoon/fonts/icomoon.woff b/src/Squidex/app/theme/icomoon/fonts/icomoon.woff index 29c443eeb91db9691b96965c9b834b50aaa4af6b..9d034ac442e95e82885cd7334e713e229a76aaff 100644 GIT binary patch delta 607 zcmYk4PiPZC6vp41&F*GtwB5t+mM})&xmRAw?S% z5{ihR2PFy>&%MN6N<8SLq=-dIKm@VkpQAl_5{d`O>f55?z>k^t@y#2)$9&kr)=TtU zn;0Jl1X^YbIu7<~Z7bz}5b;!AWD4dY0Om-}+kA?C+{>CJTYE>f^ABCweEAY-p8?L_ zw3&XAyqa4uF9KYcAy3T49hx7`kx1Hos*ll&G5F(<1@<7#bRlR(yagU33L*K?V1bk;%sdd zL*k<@qjR;<#D%jJJNkeF1Op-f?pWV2M)e@-UimQkRmsC9Vi@=lqt4TVc3)l%?>nsB(}c2jma5}Z#;P6gk# zpI6vvtL)O070y=_&4sUkfdMGgg=shh0m|f&Lb|LTkB#WZd|p4H_UpZUW2md_eSlj= zUE?gw19h&|tuWVE7@u-&of%xycva)=Dj5u{QeXJhq@Ya*LW%nJQbJj3oH#cobbrZ4 zHzBT>Y6=J+zouB7k(!vozz_pe%U}k=!hF3aGk}6Xu@ykR z3J7yDu_k8ZmQ(=6&H(i{fN;`M5xt!JWS}~~I3J**Lm;dy$8DFJSOGLFUI55f0ONAT zsJz77RG^pvP-7bi&-CK_U65Z~0`$!exH@Jai<$Z8WFE$D#)!!?7?oKk3xx1b+kAjA zHGDH~R4}tl(&^0y Date: Thu, 5 Jul 2018 11:46:21 +0200 Subject: [PATCH 3/5] Slack links improved. --- .../features/apps/pages/onboarding-dialog.component.html | 4 ++-- .../features/dashboard/pages/dashboard-page.component.html | 4 ++-- .../features/dashboard/pages/dashboard-page.component.scss | 2 +- .../features/dashboard/pages/dashboard-page.component.ts | 6 ------ 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html b/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html index e8c29068a..e2f51d47c 100644 --- a/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html +++ b/src/Squidex/app/features/apps/pages/onboarding-dialog.component.html @@ -132,8 +132,8 @@

- +
-

Feedback

+

Feedback & Support

Provide feedback and request features to help us to improve Squidex. diff --git a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss index 6a898a0e2..d03055a87 100644 --- a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss +++ b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.scss @@ -65,7 +65,7 @@ color: $color-title; font-weight: light; font-size: 1.2rem; - margin-top: .4rem; + margin-top: 1rem; } &-href { diff --git a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts index b561445b0..a87b1323b 100644 --- a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts +++ b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts @@ -20,8 +20,6 @@ import { UsagesService } from '@app/shared'; -declare var _urq: any; - @Component({ selector: 'sqx-dashboard-page', styleUrls: ['./dashboard-page.component.scss'], @@ -175,10 +173,6 @@ export class DashboardPageComponent implements OnDestroy, OnInit { }; })); } - - public showForum() { - _urq.push(['Feedback_Open']); - } } function createLabels(dtos: { date: DateTime }[]): string[] { From 8e39ec198df0e00b67b564d8e51e37eca5e44eff Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 6 Jul 2018 12:21:11 +0200 Subject: [PATCH 4/5] 1) Fix singletons 2) Fix modals. --- .../Contents/Guards/GuardContent.cs | 3 +- .../Contents/SingletonCommandMiddleware.cs | 2 +- .../event-consumers-page.component.ts | 4 +- .../apps/pages/apps-page.component.ts | 7 +- .../pages/content/content-page.component.html | 2 +- .../pages/content/content-page.component.ts | 4 +- .../pages/contents/contents-page.component.ts | 4 +- .../pages/contents/search-form.component.ts | 4 +- .../content/shared/assets-editor.component.ts | 6 +- .../shared/content-item.component.html | 2 +- .../content/shared/content-item.component.ts | 4 +- .../shared/contents-selector.component.ts | 4 +- .../shared/due-time-selector.component.ts | 4 +- .../rules/pages/rules/rules-page.component.ts | 4 +- .../schemas/pages/schema/field.component.html | 2 +- .../schemas/pages/schema/field.component.ts | 7 +- .../pages/schema/schema-page.component.ts | 13 +-- .../types/string-validation.component.ts | 4 +- .../pages/schemas/schemas-page.component.ts | 4 +- .../pages/clients/client.component.ts | 4 +- .../angular/forms/dropdown.component.ts | 4 +- .../modals/dialog-renderer.component.ts | 4 +- .../angular/modals/modal-view.directive.ts | 59 +++++++---- .../modals/onboarding-tooltip.component.ts | 4 +- .../angular/modals/tooltip.component.ts | 4 +- .../app/framework/utils/modal-view.spec.ts | 100 ++++++++++++------ src/Squidex/app/framework/utils/modal-view.ts | 77 +++++++++----- .../app/shared/components/asset.component.ts | 4 +- .../language-selector.component.html | 2 +- .../components/language-selector.component.ts | 4 +- .../components/markdown-editor.component.ts | 8 +- .../components/rich-editor.component.ts | 8 +- .../schema-must-exist-published.guard.spec.ts | 8 +- .../schema-must-exist-published.guard.ts | 6 +- .../pages/internal/apps-menu.component.html | 2 +- .../pages/internal/apps-menu.component.ts | 7 +- .../internal/profile-menu.component.html | 2 +- .../pages/internal/profile-menu.component.ts | 4 +- .../Contents/Guard/GuardContentTests.cs | 4 +- 39 files changed, 241 insertions(+), 158 deletions(-) diff --git a/src/Squidex.Domain.Apps.Entities/Contents/Guards/GuardContent.cs b/src/Squidex.Domain.Apps.Entities/Contents/Guards/GuardContent.cs index 8c02f6d88..cdb0b309a 100644 --- a/src/Squidex.Domain.Apps.Entities/Contents/Guards/GuardContent.cs +++ b/src/Squidex.Domain.Apps.Entities/Contents/Guards/GuardContent.cs @@ -5,7 +5,6 @@ // All rights reserved. Licensed under the MIT license. // ========================================================================== -using System; using NodaTime; using Squidex.Domain.Apps.Core.Contents; using Squidex.Domain.Apps.Entities.Contents.Commands; @@ -25,7 +24,7 @@ namespace Squidex.Domain.Apps.Entities.Contents.Guards ValidateData(command, e); }); - if (schema.IsSingleton && command.ContentId != Guid.Empty) + if (schema.IsSingleton && command.ContentId != schema.Id) { throw new DomainException("Singleton content cannot be created."); } diff --git a/src/Squidex.Domain.Apps.Entities/Contents/SingletonCommandMiddleware.cs b/src/Squidex.Domain.Apps.Entities/Contents/SingletonCommandMiddleware.cs index 6dd070600..435094d5f 100644 --- a/src/Squidex.Domain.Apps.Entities/Contents/SingletonCommandMiddleware.cs +++ b/src/Squidex.Domain.Apps.Entities/Contents/SingletonCommandMiddleware.cs @@ -30,7 +30,7 @@ namespace Squidex.Domain.Apps.Entities.Contents var data = new NamedContentData(); - var contentId = Guid.Empty; + var contentId = schemaId.Id; var content = new CreateContent { Data = data, ContentId = contentId, SchemaId = schemaId, Publish = true }; SimpleMapper.Map(context.Command, content); diff --git a/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts b/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts index 2813e338f..30161a18b 100644 --- a/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts +++ b/src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts @@ -9,7 +9,7 @@ import { Component, OnDestroy, OnInit } from '@angular/core'; import { Subscription, timer } from 'rxjs'; import { onErrorResumeNext, switchMap } from 'rxjs/operators'; -import { ModalView } from '@app/shared'; +import { DialogModel } from '@app/shared'; import { EventConsumerDto } from './../../services/event-consumers.service'; import { EventConsumersState } from './../../state/event-consumers.state'; @@ -22,7 +22,7 @@ import { EventConsumersState } from './../../state/event-consumers.state'; export class EventConsumersPageComponent implements OnDestroy, OnInit { private timerSubscription: Subscription; - public eventConsumerErrorDialog = new ModalView(); + public eventConsumerErrorDialog = new DialogModel(); public eventConsumerError = ''; constructor( diff --git a/src/Squidex/app/features/apps/pages/apps-page.component.ts b/src/Squidex/app/features/apps/pages/apps-page.component.ts index 93a2d5fa6..c081ccb84 100644 --- a/src/Squidex/app/features/apps/pages/apps-page.component.ts +++ b/src/Squidex/app/features/apps/pages/apps-page.component.ts @@ -11,7 +11,8 @@ import { take } from 'rxjs/operators'; import { AppsState, AuthService, - ModalView, + DialogModel, + ModalModel, OnboardingService } from '@app/shared'; @@ -21,10 +22,10 @@ import { templateUrl: './apps-page.component.html' }) export class AppsPageComponent implements OnInit { - public addAppDialog = new ModalView(); + public addAppDialog = new DialogModel(); public addAppTemplate = ''; - public onboardingModal = new ModalView(); + public onboardingModal = new ModalModel(); constructor( public readonly appsState: AppsState, diff --git a/src/Squidex/app/features/content/pages/content/content-page.component.html b/src/Squidex/app/features/content/pages/content/content-page.component.html index cdf90089e..415781eb6 100644 --- a/src/Squidex/app/features/content/pages/content/content-page.component.html +++ b/src/Squidex/app/features/content/pages/content/content-page.component.html @@ -44,7 +44,7 @@ -