1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-24 21:35:06 +03:00
Commit Graph

1001 Commits

Author SHA1 Message Date
Matt Renaud
229410ae8c Add rounded corners and border to code blocks. (#233)
Screenshots: https://imgur.com/a/HlRvz8P
2018-11-06 15:57:56 +05:00
Vladislav Sabanov
eafe87bd0a
Add setCategoryNote and setCategoryInfo and setItemInfo (#227)
* Add setCategoryNote

* Fix cache function

* Fix style

* Add setCategoryInfo

* Fix instances, add throwErrorand unH

* WIP

* Add setItemHackage on old kind + commented new realisation

* Refactor and fix bug

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Add a comment

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Update src/Guide/Api/Types.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Update src/Guide/Api/Utils.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>

* Fix FromJSON ItemKind instance

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>
2018-11-04 00:09:19 +05:00
Matt Renaud
3063a79830 Use different shade of blue for visited links. (#232)
* Use different shade of blue for visited links. 

The current style uses purple visited links which is visually distracting. This updates a:link and a:visited colours throughout to use shades of blue.

* Update admin.css link colours.

* Fix double ## typo.

* Update links colours in css.widget.
2018-11-01 09:51:21 +03:00
Matt Renaud
c9c8b537ae Use rounded corners for item boxes. (#231)
* Use rounded borders for item-info

Set a 10px border radius instead of using square corners.

* Set border radius on item-body.

* Use 5px border radius.
2018-11-01 09:50:25 +03:00
Gigiman
e51268fb7e
Vue category toc (#228)
* TestCafe added to project. First test written

* Search input test added

* Seacth input test changed, travis job for testcafe tests added

* Travis bugfix test

* Travis testcafe bugfix test try 2

* Travis testcafe bugfix test ry 3

* Travis testcafe test sleep increased to 10

* Test adding category added but bug with click occurs - check!!!

* Category test (testing the group where test was creating) added - bug fix

* Article component rewrite

* Article component rewritten

* Big with rendering content.html in v-for

* Collapse bug fix

* MInor category visual changes/fixes

* Description, reactivity bug fix

* merge

* Refactoring after code review

* Conflict in styles resolved
2018-10-31 02:09:40 +05:00
zeot
ca56ceb925 category creation moved to vuex 2018-10-29 21:17:13 +03:00
Vladislav Sabanov
fc4c7efcc7
Merge pull request #230 from m-renaud/patch-2
Make top level headings stand out more.
2018-10-28 21:07:17 +05:00
Vladislav Sabanov
efcb5461e4
Merge pull request #229 from m-renaud/patch-1
Change code background to lighter colour.
2018-10-28 21:06:33 +05:00
zeot
a159424a5c Added search 2018-10-28 18:29:54 +03:00
zeot
d510a06cf2 Logo added 2018-10-28 17:47:23 +03:00
zeot
48d9b28fa0 Removed console.log 2018-10-28 17:47:00 +03:00
Matt Renaud
0c824379aa
Make headers stand out more.
Currently its hard to differentiate between top level sections, this change makes the font a bit bigger and adds a gray line underneath.

Screenshot: https://imgur.com/a/SCVP6WS
2018-10-27 16:59:40 -07:00
Matt Renaud
9324c061bb
Change code background to lighter colour.
This changes the alpha value of the `code` and `pre` background from 0.1 to 0.04. The current background colour is pretty dark and is more distracting and less visually appealing imho.

Screenshots: https://imgur.com/a/hfUAdEY
2018-10-27 16:50:06 -07:00
Artyom Kazak
5eebd34a28 Cut search results in the new search 2018-10-22 21:36:50 +02:00
Vladislav Sabanov
13d41420d6
Merge pull request #226 from aelve/willbasky/Add-createTrait
Add `createTrait` and `setTrait`
2018-10-19 13:13:09 +05:00
Vladislav Sabanov
f50aa836e8 Fix 2018-10-19 00:13:12 +05:00
Vladislav Sabanov
b7d4dd7f7e Fix setTrait, add createTrait 2018-10-18 15:14:29 +05:00
zeot
a62a2b2d7e fix of calling asyncData function on client side 2018-10-18 11:56:56 +03:00
Vladislav Sabanov
715b91f1a6 Return NoContent 2018-10-18 10:38:00 +05:00
Vladislav Sabanov
ec030f58b3 Fix warnings 2018-10-18 10:38:00 +05:00
Vladislav Sabanov
1b2b16f496 Add createTrait 2018-10-18 10:38:00 +05:00
zeot
103c9a605f removed console.log 2018-10-17 10:15:23 +03:00
Artyom Kazak
d6eb20dae2
Invalidate cache in new handlers (#225) 2018-10-16 22:01:25 +02:00
Artyom Kazak
bfca5dcf99 Fix Haddock 2018-10-14 13:19:57 +02:00
Artyom Kazak
76aabd25c2
Fix schemas for CMarkdown and CHeading (#224) 2018-10-07 10:12:22 +02:00
Veronika Romashkina
075a53541e Expose ToC for notes in Items (#221)
* Expose ToC for notes in Items

* Change type of the ToC

* Losslessly acquire sources of headings

* Expose ToC headings nicely

* Fix ToC tests
2018-10-07 01:05:15 +08:00
zeot
0d293e90e2 alphabetically sorted categories groups 2018-10-04 00:40:14 +03:00
zeot
2e6e00c3ba Resetting category name on open add category dialog 2018-10-03 23:25:11 +03:00
zeot
d67b30b168 Render only one addCategoryDialog element 2018-10-03 23:19:19 +03:00
Dmitrii Kovanikov
c6b1ac17c7 Apply stylish-haskell and format imports section (#222) 2018-10-03 17:56:13 +08:00
zeot
46fc762230 Merge branch 'vue' of https://github.com/aelve/guide into vue 2018-10-03 00:07:36 +03:00
zeot
741b6d2f7d SSR asyncData loading logic is rewritten, vue-server-renderer package replaced to forked one 2018-10-03 00:07:01 +03:00
Giyos
5731ae0255 search label font-size changes 2018-09-24 18:32:46 +05:00
Giyos
cc5dc62047 minor design fix 2018-09-24 18:26:34 +05:00
Giyos
23018b81df Merge branch 'vue' of https://github.com/aelve/guide into vue 2018-09-24 18:20:19 +05:00
Giyos
7a9f9d05b2 Article v 0.7.5 2018-09-24 18:20:11 +05:00
Artyom Kazak
8a756ea059 Update the readme 2018-09-24 00:03:28 +02:00
Artyom Kazak
2d52116e6d No more Zurihac 2018-09-24 00:01:26 +02:00
Artyom Kazak
1259fe5ee1 Mention that NPM has to be installed 2018-09-23 23:57:44 +02:00
Giyos
2e94e31a09 Article v 0.0.7 2018-09-23 19:36:05 +05:00
Giyos
fb678f1d80 Merge branch 'vue' of https://github.com/aelve/guide into vue 2018-09-23 02:21:52 +05:00
Giyos
9c3ff51a41 Article v 0.0.6 2018-09-23 02:21:43 +05:00
zeot
4110967d70 Formatting of toolbar component 2018-09-22 23:12:08 +03:00
Artyom Kazak
5b3600d7b4 Update footer (#217)
* Remove the "donate" page

* Remove the "rules" page

* Made by Aelve

* Remove "issue tracker"

* Fix the footer test
2018-09-22 23:05:32 +03:00
Artyom Kazak
4b0f6407ca Don't mark fields with (?) as "always required" 2018-09-22 21:51:21 +02:00
Artyom Kazak
ffca86a9ff Add categories to the right groups (#218)
* Add categories to the right groups
2018-09-22 22:12:21 +03:00
Artyom Kazak
8788244c11 Throw away ReDoc 2018-09-22 18:53:07 +02:00
Artyom Kazak
d3093bf062 Fix the docs for 'CSearchResult' 2018-09-22 18:53:07 +02:00
Artyom Kazak
0a309bbff4 Fix errors in the API 2018-09-22 18:53:07 +02:00
Artyom Kazak
a1058bcd2f Add the search endpoint to the API 2018-09-22 18:53:07 +02:00