12 Commits

Author SHA1 Message Date
c118ed59d4 [questions][fix] fix pagination off by one (#425) 2022-10-24 23:20:51 +08:00
471a28be8a [questions][feat] pagination (#410)
* [questions][feat] pagination

* [questions][feat] update aggregated data

* [questions][feat] add next cursors

* [questions][fix] fix bug

* [questions][chore] fix lint error

* [questions][chore] update cursor to support adapter

* [questions][feat] paginate browse queries

* [questions][ui] change page size to 10

* [question][refactor] clean up router code

* [questions][fix] fix type errors

* [questions][feat] add upvotes tracking

* [questions][chore] add default upovte value

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-24 22:56:50 +08:00
11aa89353f [questions][feat] add lists ui, sorting, re-design landing page (#411)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-10-22 22:14:19 +08:00
b37ce69c25 [questions][feat] update question filter (#384)
* [questions][chore] refactor question queries

* [questions][chore] destructure values from input

* [questions][feat] add sorting

* [question][fix] fix frontend

* [questions][feat] add sorting

* [questions][feat] add sorting index

* [questions][chore] push migration file

* [questions][fix] fix ci issues

* [questions][fix] fix import errors

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-22 14:31:29 +08:00
2f12a900e6 [questions][chore] update to use company table values (#351)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-19 18:08:51 +08:00
925ba937b4 [questions][refactor]: refactor queries (#383) 2022-10-19 15:12:56 +08:00
50d3386592 [question][ui] integrate backend voting (#355)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-10-10 22:23:58 +08:00
85d49ad4cd [questions][feat] add nested create encounter (#339)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 13:08:02 +08:00
e78160d654 [questions][feat] integrate backend (#347) 2022-10-10 08:17:01 +08:00
8dc967c6ec [questions][feat] add questions crud (#327) 2022-10-09 16:34:17 +08:00
fbf1517901 [portal][fix] remove empty files causing compilation to fail 2022-10-09 09:24:04 +08:00
a818e7d820 [questions][feat] add questions models (#323)
* [questions] [feat] add questions models

* [questions][feat] add question types

* [questions][chore] update schema naming scheme

* [questions][chore] update naming scheme

* [questions][chore] updating naming scheme

* [questions][feat] add location, role and comapny

* [questions][feat] update vote enum
2022-10-09 01:36:21 +08:00