1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 12:52:31 +03:00
Commit Graph

1043 Commits

Author SHA1 Message Date
zeot
c5c9629ecb Trait creation request changed according to new API 2019-02-15 14:06:20 +04:00
zeot
5be82d6dbf Redirect to the new frontend, not the old frontend on category create 2019-02-14 20:55:28 +04:00
zeot
56aaf3c1a3 front: conflict dialogs for every case, new interface of conflict catching 2019-02-14 20:00:04 +04:00
avele
da9031a6ba
Feat/preload pages on client and progress bar (#266)
* progress bar

* Using saved scroll when going forward/back  in browser

* router intance added to context of client side asyncData functions
2019-02-10 16:00:50 +04:00
zeot
ad5f12ee36 Merge branch 'develop' of https://github.com/aelve/guide into develop 2019-02-07 20:15:11 +04:00
zeot
ced09a124f front: imports refactor 2019-02-07 20:02:46 +04:00
Gigiman
3d8fee8c5c
Category description add edit (#251)
* 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

* Category description v 0.0.1

* formatting and unnecessary quote marks deleted

* fix originalDescription assignment

* Added category description edit/add

* Added 409 error handling (need to add functionaly to buttons)

* changed: added emit for conflict popup

* changed: added api request to conflict handlng

* rename Article -> Category, ArticleContent -> CategoryItem

* minor rename fix

* changed: moved all description changes to a single function, emit call fixes, minor style fixes

* changed: category description conflict data sent to api fixes

* refactoring bug fix

* fix: if description exists no description shown in textarea

* fix: empty field in the Dialog

* changed: emit event from conflict-dialog refactoring and fix

* changed: 400 api error fix

* changed: old summary blink bug six

* minor fix

* hotfix: textare bug fix

* api change fix

* minor fix

* changed: fixed several time description saves failing

* Merge with develop - many bugs

* merge with develop - critical bug fix

* merge with develop bug-fixes

* refactoring

* bug fixes

* changed: replace textarea to markdown in category description. Need to do same with conflict dialog

* changed: resolved linter warnings, added markdown to merged window in conflicts dialog

* minor fix

* cancel, text-wrap fix

* minor fix

* minor fix

* minor fix and uid -> id in addDescription

* changed: minor fix 2

* small changes

* small refactoring

* part of refactoring, btn text bug fix

* move no-category description stub to same div where category description is being loaded

* move category to own component

* minor fixes, enable mobile layout

* small change

* small changes

* slot removed

* small changes

* throw err moved to else statement

* small changes

* minor fix

* small changes

* description button text and icon refactoring

* add description btn icon/text small refactoring
2019-02-04 12:57:28 +05:00
Gigiman
37b9067ef2
Delete/item/ id escape should work (#263)
* esc keyup added

* added closing on esc press

* api url changed to localhost
2019-02-04 12:49:16 +05:00
zeot
db2caaa7bf excess config file deleted 2019-02-04 04:56:53 +04:00
Giyos
564646a20e allow mobile resize in html 2019-01-31 22:17:48 +06:00
Giyos
0f2e520e31 Move the space out of the link in the footer 2019-01-31 11:40:13 +06:00
Giyos
acd9109c76 apiUrl back to localhost 2019-01-30 16:26:22 +06:00
Giyos
beed8491b2 Minor visual fixes 2019-01-30 16:24:59 +06:00
zeot
6ac2de73ab Unused global styles removed 2019-01-26 03:11:56 +04:00
Dmitrij Pavluk
9147ad47f0
API for requesting a single category/item/trait (#262)
* addition of metode for request of 1 item

* add traversal version of lebses "getById"

* add getTraitById

* fix to tests
2019-01-23 16:30:43 +03:00
Vladislav Sabanov
846003d037
Post edit log to matomo (#259)
* Post edit log to matomo

* Update back/src/Guide/Api/Matomo.hs

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

* Update back/src/Guide/Api/Matomo.hs

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

* Make postMatomo async

* Fix async, manager and link

* Update comments

* Categorize

* Update back/src/Guide/Matomo.hs

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

* Fix proposals
2019-01-23 17:36:40 +05:00
Artyom Kazak
9f0e7cdd6a
Add HLint rules and fix some suggestions (#261) 2019-01-23 09:29:39 +01:00
Dmitrij Pavluk
638c695f44
Merge pull request #260 from aelve/fix/uid_to_id
uid -> id
2019-01-22 09:11:44 +03:00
Dmitrij Pavluk
19241c46ad Renami "uid" to "id" everywhere 2019-01-22 09:04:30 +03:00
Artyom Kazak
a86e2f0c82 https only in package-lock.json 2019-01-17 00:13:26 +11:00
zeot
c57012c977 changed links color for better contrast ratio 2019-01-14 15:57:02 +04:00
zeot
a82af59927 Login button removed 2019-01-14 13:34:18 +04:00
zeot
ffa4fc9390 Hamburger menu removed 2019-01-14 13:33:38 +04:00
zeot
5e3c129400 removed unused pug loader 2019-01-14 12:47:46 +04:00
Vladislav Sabanov
a59f01c83e
Hide db and requestDetails in Guider context (#258)
* Hide db and request in guider

* Update back/src/Guide/Api/Guider.hs

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

* Hide more in context

* Drop the "h"
2019-01-13 08:02:51 +05:00
Vladislav Sabanov
bb83966631
Make json fields optional for item info (#256)
* Make json fields optional for item info

* Add second Maybe

* Fix ToJSON CItemInfo

* Resurrect CItemInfo

* Don't break model refs

* Parse null correctly

* frontend updated according to api changes
2019-01-10 22:56:14 +05:00
avele
5f0724eba8
confirmation decorator and confir for trait delete (#257)
* added helper promise

* confirmation decorator and confir for trait delete
2019-01-10 19:49:01 +04:00
Artyom Kazak
273b1325b6 Fix vue-server-renderer commit 2019-01-09 23:57:25 +11:00
zeot
5d0a2a63ef removed unused css 2019-01-09 14:50:55 +04:00
avele
edeb06aa09
Feat/edit category item sections (#255)
* Added basic item desciption edit without handling of conflicts

* improved MarkdownEditor props and loading

* Added helpful global css class

* Edit category item sections

* got rid of useless wrapper component

* deleted css rule for headings in category item body

* normalizing url when category item link on edit

* updated api of item summary

* item and traits move

* fixed category item info update

* config restored

* config restored
2019-01-09 14:26:27 +04:00
zeot
63ddde5ea0 icons changed to svg 2019-01-07 18:22:56 +04:00
Vladislav Sabanov
67beea7d6f
Move item or trait (#254)
* Move item or trait

* Make body request

* Create trait as body with type and text

* Update back/src/Guide/Api/Methods.hs

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

* Update back/src/Guide/Api/Methods.hs

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

* Update back/src/Guide/Api/Types.hs

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

* Fix style

* Remove spaces
2019-01-07 02:29:59 +05:00
zeot
9c4b7eb687 removed useless stats in html 2019-01-05 16:36:57 +04:00
zeot
7d53a04290 css and stylus loaders moved to base webpack confing 2019-01-05 16:36:34 +04:00
zeot
5532e5c1f1 Using new api of category item description 2019-01-05 16:36:10 +04:00
Vladislav Sabanov
65800eda6a
[WIP] Remove kinds and add hackage as option (#249)
* Split hackage

* WIP

* Migrate to newer safecopy-migrate

* Fix migrate

* Rename description to summary for item

* Fix link to templates

* Frontend tests fix for pr #249

* Change the path back

* WIP. Fix templates

* Update back/src/Guide/Api/Types.hs

* Remove unnecessary stuff from .gitignore

* Revert style changes

* Two spaces

* _itemDescription has been renamed

* Remove the Hackage test

* name_on_hackage -> hackage

* Fix Hackage param' type

* front changes from kind to hackage

* Fix tests

* Try fix templete

* Revert last commit

* Comment front test in travis
2019-01-05 16:08:42 +05:00
zeot
79a4b816a7 deleted comments in html tag 2019-01-04 22:35:42 +04:00
zeot
053e9731ab got rid of useless constants 2019-01-04 22:34:16 +04:00
zeot
e61142c0b0 correnct lang in html tag 2019-01-04 22:33:00 +04:00
zeot
f595ce9422 changed lange in html tag 2019-01-04 22:16:22 +04:00
zeot
8c7843f061 typo fixed 2019-01-04 22:15:48 +04:00
Artyom Kazak
70283a8fa7 Travis improvements (#253)
* Fix xvfb

* Install Stack differently

* Revert to Ubuntu Trusty

* Fix test path
2019-01-02 17:07:52 +04:00
Artyom Kazak
1758dab793
[WIP] Push a Docker image after a Travis build (#252)
Push a Docker image after a Travis build
2018-12-28 15:07:18 +11:00
zeot
ca86929e39 removed commented useless lines 2018-12-21 15:59:42 +04:00
zeot
10224b68c9 tests transfered to separate folder 2018-12-20 15:15:12 +04:00
zeot
7bcbc5a653 Minor imrovements of toolbar component 2018-12-18 19:50:11 +04:00
zeot
be9fbcdcbe Category item style 2018-12-18 19:49:34 +04:00
zeot
0ac23b05be styles refactored in category item toolbar 2018-12-18 19:49:01 +04:00
zeot
45ca4f115f refactor of markup 2018-12-18 19:48:32 +04:00
zeot
ec9670ee1d added markdown editor component 2018-12-18 19:48:16 +04:00