Commit Graph
54 Commits
Author SHA1 Message Date
Pfingstfrosch 31f437c37a Fix styling issue with missing td cell 2020-06-04 19:25:51 +02:00
Pfingstfrosch 6ef204797c push 2020-06-04 19:25:36 +02:00
Pfingstfrosch 10950525f2 Remove nokogiri as it is part of rails 2020-06-04 19:25:27 +02:00
Pfingstfrosch d52e844fa5 Reformat the delete buttons 2020-06-04 19:25:06 +02:00
Pfingstfrosch b188b238b8 Reformat inputs 2020-06-04 19:24:56 +02:00
Pfingstfrosch 3e3ed87b18 Introduce and use print.css 2020-06-04 19:24:45 +02:00
Pfingstfrosch c6073806de lel 2020-05-31 17:25:48 +02:00
Pfingstfrosch 8cbf96742f final styling of fav table buttons 2020-05-31 17:08:40 +02:00
Pfingstfrosch 1a94f5919d final styling of table sorting 2020-05-31 17:02:34 +02:00
Pfingstfrosch ad85619ccc added sorting arrow for favorites view 2020-05-31 16:45:22 +02:00
Pfingstfrosch cfcbf5acdb Ad requirement 4
I have no idea how this requirement shall be implemented at the end, but at first step, the tiss_crawler.rb lib checks if the search_term is an empty string and returns an error msg if found

otherwise it returns the result, but appended to 'content' key
2020-05-31 15:48:17 +02:00
Pfingstfrosch 72b9f7d7a0 Don't allow empty search due to the course requirement 4 2020-05-31 15:17:56 +02:00
Pfingstfrosch 80bf9dbc5b render search crawlers header as partial 2020-05-31 15:06:25 +02:00
Pfingstfrosch fcc07a75b4 offer a back to search button 2020-05-31 14:25:41 +02:00
Pfingstfrosch 0a849a92e3 restyle fav subnav 2020-05-31 14:17:59 +02:00
Pfingstfrosch 2d8a2f8b7e decrease size of titles, looks better on mobiles
change text, add information on which specific search you are
2020-05-31 13:59:11 +02:00
Pfingstfrosch 28a722e5e1 decrease size of titles, looks better on mobiles 2020-05-31 13:54:01 +02:00
Pfingstfrosch 15e2b25a50 better font for whole body 2020-05-31 13:52:01 +02:00
Pfingstfrosch 32ec7c49ff make favorite view more mobile friendly
append buttons under each row of data instead besides
append a line which separates the tables beneath every odd line to group data and buttons
2020-05-31 13:50:07 +02:00
Pfingstfrosch ea47df1043 remove doubled migration file 2020-05-31 13:42:14 +02:00
Pfingstfrosch 204597b39d fix rubycop issue:
- don't introduce global variable
 - don't prefix getter with get_
 - single quotes instead of doubles for hash usage
2020-05-31 13:41:50 +02:00
Pfingstfrosch 831c78a3ff Merge remote-tracking branch 'remotes/origin/projects_search' into fixes
# Conflicts:
#	app/views/favorites/projects.html.erb
#	db/schema.rb
2020-05-31 13:16:56 +02:00
Pfingstfrosch bfd58dc7c1 create favorite projects table 2020-05-29 16:30:24 +02:00
Pfingstfrosch 724a13347c Display 'Not implemented yet.' 2020-05-29 16:12:44 +02:00
Pfingstfrosch 84cf537412 Catch render errors and display 'Couldn't find anything' instead of stacktrace 2020-05-29 16:12:23 +02:00
Pfingstfrosch f96ed67cf0 move buttons underneath the displayed lines to make the view more mobile compatible 2020-05-29 15:56:19 +02:00
Pfingstfrosch a3f7066cc1 Merge branches 'projects_search' and 'user_based_+_sortable_favs'
# Conflicts:
#	app/assets/stylesheets/favorites.scss
2020-05-29 15:48:58 +02:00
Pfingstfrosch b47a37daea Merge branch 'master' of https://gitlab.com/kranklyboy/tiss2go 2020-05-29 15:48:29 +02:00
Pfingstfrosch 47d47a51b7 styling of favorites 2020-05-29 15:48:11 +02:00
Pfingstfrosch 1f70049dc4 added arrows for sorting 2020-05-29 15:47:20 +02:00
Pfingstfrosch 1a4370c90e doesn't work yet 2020-05-16 15:07:12 +02:00
Pfingstfrosch b11ef548b6 style the table 2020-05-16 15:06:42 +02:00
Pfingstfrosch 6922f31bc5 remove unnecessary bloat 2020-05-16 14:29:30 +02:00
Pfingstfrosch 2f6d638cd1 second attempt of making favorite people view sortable 2020-05-16 14:09:33 +02:00
Pfingstfrosch f2686288b7 moved into proper folder location 2020-05-16 14:09:11 +02:00
Pfingstfrosch 83d4368af7 first attempt of making favorite people view sortable 2020-05-16 13:30:00 +02:00
Pfingstfrosch dd7ac8e64f only select favorites which match the current user id 2020-05-16 12:26:21 +02:00
Pfingstfrosch 72be2d07f3 store also the user_id when adding to favorite 2020-05-16 12:22:09 +02:00
Pfingstfrosch 8ca0f74276 added user_id to favorite_people model 2020-05-16 12:21:48 +02:00
Pfingstfrosch 9dcb2994e1 create a hash of favorite details and reuse it;
move redirect_back out of conditional scope
2020-05-16 11:58:25 +02:00
Pfingstfrosch 5bb0bae858 fix of inheritance error -> uninitialized constant Crawlers::ApplicationController 2020-05-16 11:45:05 +02:00
Pfingstfrosch 1970a65bf8 fix of inheritance error -> uninitialized constant TissCrawlerController 2020-05-16 11:44:21 +02:00
Pfingstfrosch d5ec02201d instead of redirecting just display an success or error message after pressing add button 2020-05-12 20:01:30 +02:00
Pfingstfrosch 49be25838e remove route with no purpose 2020-05-12 19:57:12 +02:00
Pfingstfrosch 34f34790ee remove action with no purpose 2020-05-12 19:53:17 +02:00
Pfingstfrosch d34a3d583c refactored crawler controllers and bundled them in crawlers namespace 2020-05-12 19:49:18 +02:00
Pfingstfrosch d7907a3a0c remove helpers with no controller class related 2020-05-12 19:29:12 +02:00
Pfingstfrosch 415ed22f6e remove HOME Page, because redundant
show search page as default
2020-05-12 19:27:43 +02:00
Pfingstfrosch 16ae8fd87b update 2020-05-12 19:19:08 +02:00
Pfingstfrosch 92eff82f1a refactored favorites:
instead of using a fav page for each content, use a general favorites pane where the user can select which favs shall be shown
2020-05-12 19:19:04 +02:00
Pfingstfrosch a8f4d4a9db Main nav bar now contains 3 menus:
- Home
- Search TISS
- Your Favorites
2020-05-12 19:17:13 +02:00
Pfingstfrosch ae6a202e59 refactored routes file:
now using namespaces to make the file more readable and better structured
2020-05-12 19:16:18 +02:00
Pfingstfrosch 6bc24a48f0 remove scss files with no corresponding controller 2020-05-12 19:15:06 +02:00
Pfingstfrosch 1d7105ab22 remove scss files with no corresponding controller 2020-05-12 19:15:00 +02:00