Commit graph

183 commits

Author SHA1 Message Date
2a0e987e0f backend/frontend: add edit / update support
This change makes good progress towards having a usable
app. "Write", and "Preview" tabs have been added - in the
"Preview" tab markdown is transformed into HTML in real-time.
2023-12-22 15:33:26 -03:00
de6b33f1aa backend: add PUT /issues/ 2023-12-22 15:02:56 -03:00
b155908e06 frontend: avoid re-fetch of issue index on destroy
The destroyed issue is removed from memory instead.
2023-12-22 11:32:00 -03:00
c76450993f frontend: misc improvements
Add DestroyIssueButton, add NavBar, remove pure.css leftovers,
add new CSS rules.
2023-12-22 11:19:49 -03:00
fc68d0944f frontend: ever so slightly improve /issues/ 2023-12-22 09:57:27 -03:00
dc4482035d frontend/backend: add ability to destroy an issue 2023-12-22 09:48:47 -03:00
8b4387443c frontend: redesign form with form.css 2023-12-22 07:29:33 -03:00
b21fc8ac24 frontend: remove pure.css, add normalize.css 2023-12-22 07:06:03 -03:00
825a3db90a frontend: add nanoc-live 2023-12-22 07:06:03 -03:00
ddbeb27c0e frontend: add _forms.scss 2023-12-22 07:05:46 -03:00
e0778919e1 frontend: add src/css/_normalize.scss 2023-12-22 06:39:55 -03:00
54565c6322 add twenty.gemspec 2023-12-22 02:48:43 -03:00
ad560bbc9a frontend: drop / suffix from path 2023-12-22 02:33:12 -03:00
c3f869897c frontend: read the content of an issue (/issues/read#id=X). 2023-12-21 04:39:33 -03:00
ae205d7191 backend: DESC sort issue index 2023-12-21 03:27:16 -03:00
cf804af7de frontend: inline map in Connections.tsx 2023-12-21 03:22:47 -03:00
62ae4d3bdd frontend: update comment 2023-12-21 03:20:22 -03:00
2efd7bad28 frontend: root path (/) opens the issue index 2023-12-21 03:19:28 -03:00
b2f0404f36 frontend: link to /issues/new from /issues/ 2023-12-21 03:16:02 -03:00
8047686311 frontend: link to /issues/read#id=X from /issues/ 2023-12-21 03:04:40 -03:00
456573f18e frontend: useLocationHash -> useParams 2023-12-21 03:00:23 -03:00
79bf537b3c frontend: add param support to hash component of URL 2023-12-21 02:57:51 -03:00
05fa47c9eb backend: Add Twenty::Servlet::Response#not_found 2023-12-21 02:39:38 -03:00
77dd166647 backend: handle a non-existent issue as a 404 2023-12-21 02:29:36 -03:00
b8afeccc39 backend: add Twenty::Servlet::Response docs 2023-12-21 02:24:06 -03:00
6cba2133b9 frontend: fix issues.rules 2023-12-21 02:17:20 -03:00
096cfd76c1 frontend: ShowIssue -> ReadIssue 2023-12-21 02:14:31 -03:00
c682a01977 frontend: add ShowIssue, add useLocationHash 2023-12-21 02:09:22 -03:00
5d19e85068 backend/frontend: lay more groundwork for issues 2023-12-21 00:41:56 -03:00
7a6c75ecb4 backend: implement GET /servlet/issues 2023-12-20 23:17:34 -03:00
2d65a480c1 backend: update Servlet#write 2023-12-20 23:08:28 -03:00
2032e1e7ac frontend: add .eslintrc, .prettierrc 2023-12-20 22:59:50 -03:00
64a8014bd5 Run eslint / prettier 2023-12-20 22:59:07 -03:00
061af3b8d4 backend: state defaults to "open" 2023-12-20 22:56:25 -03:00
5e219bc616 frontend: working on issue form 2023-12-20 22:56:25 -03:00
57ca7eb75d frontend: deserialize response 2023-12-20 20:05:45 -03:00
df990abced frontend: add /js/hooks/useCreateIssue.ts 2023-12-20 20:04:16 -03:00
4fd72ab3d2 backend: add Issue#to_json, return issue in response 2023-12-20 19:41:48 -03:00
3c14c7f02f backend: implement Issues#do_POST 2023-12-20 19:37:59 -03:00
ff4471b532 frontend: tweak stylesheets 2023-12-20 19:27:43 -03:00
df120bac9e frontend: improve "New issue" form 2023-12-20 18:47:26 -03:00
eb17444397 frontend: import _pure.scss 2023-12-20 17:58:04 -03:00
0cbcdcaa9e frontend: add ConnectionSelect, useConnections 2023-12-20 17:56:25 -03:00
d7df75aa40 Add _pure.css 2023-12-20 17:55:51 -03:00
bbdc8ff395 backend: add unique index on connections.name&path 2023-12-20 16:37:40 -03:00
ae4e61abbf frontend: add require_rules, and more
The foundation of the 'New issue' form is included in this commit,
but far from finished. `/src/html/` has been added, along with other
file layout changes.
2023-12-20 16:37:40 -03:00
c54c4f2997 backend: add to_json to Twenty::Connection 2023-12-20 14:06:57 -03:00
fb4bdba6c7 backend: run migrations only when neccessary 2023-12-20 13:45:19 -03:00
ecb1aca5fc twenty-backend: fix connections servlet 2023-12-20 11:43:30 -03:00
8e26c3ea0f twenty-frontend: fix request path 2023-12-20 11:41:50 -03:00