1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-27 06:45:16 +03:00
Commit Graph

886 Commits

Author SHA1 Message Date
zeot
ceb6cc48b9 Rename article to category 2018-12-13 16:31:29 +04:00
avele
845a7a671e
feat/category item info edit (#250)
* added search results nothing found text

* removed external spaces and lines

* Item info update
2018-12-13 16:02:37 +04:00
Artyom Kazak
c32852ab77
Move the backend to /back/ (#240) 2018-12-09 23:02:03 +01:00
Vladislav Sabanov
38007e2804
Add addEdit (#248)
* Add instance RequestDetails

* Update src/Guide/Api/Utils.hs

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

* Move 'maybe' to fields, improve ip getter

* Ip to Text

* Add RequestDetails to api

* Add addEdit

* Refactor 2

* Refactor IP

* Fix Nothing

* Remove redundent
2018-12-09 16:28:44 +05:00
Artyom Kazak
b597877af0
Pin highlighting-kate (#246) 2018-12-09 11:58:07 +01:00
avele
4dd2e44aca added search results nothing found text (#247) 2018-11-28 00:04:26 +05:00
zeot
e6abd2d243 Refactor of category component and category items creation/delete 2018-11-25 20:41:15 +03:00
zeot
67068dc908 chagned tsconfig rule 2018-11-25 20:26:10 +03:00
Vladislav Sabanov
ac15cfa047
Add Guider (#245)
* Add guider

* Implement with hoistServer

* Fix travis

* Fix catchError and guiderToHandler

* Fix catchError

* Fix def

* Fix redundent
2018-11-25 13:48:42 +05:00
Giyos
caa33b6e21 change this.routes.params to Prop 2018-11-23 18:50:14 +05:00
Gigiman
a275c8def3
Category opens in vue.js frontend (#244)
* Migrate routing from prod to new front v 0.5

* migrate category link to new fron v 0.5.5

* migrate category link to new fron v 0.0.8

* migrate category link to new-front caching issue

* window bug fix

* minor refactoring

* refactoring
2018-11-23 18:31:21 +05:00
zeot
00cd343b41 name in package.json changed 2018-11-23 10:56:53 +03:00
zeot
bc63e3a2d5 rename of project description in package.json 2018-11-21 13:54:54 +03:00
zeot
34e66f7d9e Merge branch 'develop' of https://github.com/aelve/guide into develop 2018-11-21 13:52:58 +03:00
avele
072db0b3df
Chore/typings and refactor category item actions (#243)
* Change semicolon rule in tslint

* tslint rule added

* typings and category item actions refactored
2018-11-21 13:31:31 +03:00
zeot
c7e15c022e Change semicolon rule in tslint 2018-11-20 15:50:51 +03:00
Gigiman
2fdae50c81 Category item add/delete tests (#238)
* 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

* Item add/delete feature in category

* merge with vue

* minor code fix

* minor merge fix

* add/delete item test v 0.0.1

* add/delete item tests

* add/delete tests merge with develop branch fix

* Tests bug fix

* minor add/delete item test refactoring

* Tests improved

* Package lock
2018-11-20 15:49:45 +03:00
zeot
f0815b9eb0 added tslint rule 2018-11-19 18:05:36 +03:00
zeot
87087afe88 formatting 2018-11-19 18:04:32 +03:00
zeot
d87167012f Added tslint rule 2018-11-19 18:04:23 +03:00
zeot
8178475fda Tests improved 2018-11-19 17:35:11 +03:00
Vladislav Sabanov
c78b18dbb1
Set item's summary, ecosystem and notes (#242)
* Set item's summary, ecosystem and notes

* 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/Types.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/Types.hs

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

* Abstract get and error

* Remove handler argument

* Remove Just

* Refactor more

* 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>

* Abstract more

* 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>

* Abstract more

* Update src/Guide/Api/Methods.hs

Co-Authored-By: willbasky <vladislav.sabanov@gmail.com>
2018-11-18 21:53:34 +05:00
zeot
e252dc55e7 Added tslint plugin for webpack 2018-11-18 14:37:47 +03:00
zeot
f836c68182 removed screenshots from frontend tests 2018-11-18 14:37:20 +03:00
zeot
c881cef636 Tests improved 2018-11-17 14:46:51 +03:00
zeot
ad964861a4 Tslint 2018-11-16 19:21:06 +03:00
zeot
935ba0883f Tslint and formatting 2018-11-16 18:52:00 +03:00
Vladislav Sabanov
1a80dd804c
Add diff and merge to 'setCategoryNotes' and 'setTrait' (#241)
* Add diff to setCategoryNote

* Add diff to setTrait

* Fix merge conflicts

* Add merged

* Rename fields
2018-11-15 19:18:50 +05:00
zeot
25c8e3ff03 Fix refreshing page after adding item 2018-11-13 23:25:02 +03:00
zeot
9f62400c45 Add new item sign 2018-11-13 22:57:42 +03:00
zeot
0dbdb77d80 refactor and correct types 2018-11-13 19:25:05 +03:00
mixailflash
30f32a560d remove cache (#235)
* remove cache

* fixed bugs

* merge with vue

* Redo renderCategoryList

* Remove 'prerender'
2018-11-09 17:31:13 +01:00
Vladislav Sabanov
2b47740b86
Configure cors and ekg via json (#237)
* Configurate cors via json

* Configure ekg via json

* Fix ports

* Update src/Guide/Api/Server.hs

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

* Update src/Guide/Api/Server.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Config.hs

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

* Update src/Guide/Main.hs

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

* Fix style

* Fix fogotten
2018-11-09 17:01:12 +05:00
Gigiman
428c17048d
Add new item/delete item from category (#236)
* 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

* Item add/delete feature in category

* merge with vue

* minor code fix

* Update ArticleContent.vue

* Merge bug fix

* Minor merge bug fix

* Code review fixes
2018-11-08 02:24:18 +05:00
Matt Renaud
e76bfbd1ab Style tweaks for footer. (#234)
Make the footer shorter, use a smaller font, and a dark grey instead of black for the font.
2018-11-06 15:58:24 +05:00
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