about summary refs log tree commit diff
path: root/frontend/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Frontend: Display number of results below search barBaitinq2022-11-051-8/+17
|
* Frontend: Link the OSSE logo to /Baitinq2022-11-051-1/+3
|
* Indexer+Frontend: Integrate with actixBaitinq2022-11-051-2/+2
|
* Lib+Indexer: Make IndexedResource title and description OptionalBaitinq2022-11-021-3/+4
|
* Frontend: Result component: Add more font related cssBaitinq2022-11-011-5/+17
|
* Frontend: Result component: Show "No Description" if empty descriptionBaitinq2022-11-011-2/+5
|
* Frontend: Result component: Use the stylist crate to apply basic cssBaitinq2022-11-011-2/+15
|
* Frontend: Result component: Add basic structureBaitinq2022-11-011-3/+6
|
* Frontend: Reduce code duplication in the initial_search_query path of ↵Baitinq2022-11-011-28/+3
| | | | | | | | component creation We now push a SearchSumbitted message if the initial_search_query is not none instead of duplicating the code present in the SearchSubmitted handler.
* Frontend: Handle and show API errorsBaitinq2022-11-011-32/+71
|
* Misc: Cargo fmtBaitinq2022-10-302-12/+18
|
* Frontend: Change navbar linksBaitinq2022-10-301-4/+4
| | | | Now logo points to / and "Made by Baitinq" to the project's git
* Frontend: URL encode and decode the search_queryBaitinq2022-10-301-2/+2
|
* Frontend: Implement support for searching with /search/* routesBaitinq2022-10-302-6/+37
| | | | | | | We now immediately search if we are in a /search/* route. This implementation is not that good as we have to duplicate the code that runs both when creating the component in /search/* route and when submitting a search query.
* Frontend: Update yew to follow masterBaitinq2022-10-302-4/+4
| | | | This enables us to use the new Router API
* Frontend: Setup skeleton route supportBaitinq2022-10-301-1/+34
| | | | | We now have the / and /search/ route boilerplate. This will allow us to switch to the /search/ route when searching.
* Frontend: Move app-specific code to app.rsBaitinq2022-10-302-184/+180
|
* Misc: Add local lib crate to share common structsBaitinq2022-10-301-43/+2
|
* Frontend: Add props to the OSSE ComponentBaitinq2022-10-301-3/+9
| | | | We can now set the API endpoint in the props.
* Frontend: Change OSSE component into a struct componentBaitinq2022-10-301-76/+88
| | | | I think this improves readability for components with state.
* Crawler+Indexer+Frontend: Rename structs to follow logical relationsBaitinq2022-10-291-10/+10
| | | | | | Now Resource is CrawledResource as it is created by the crawler, and the previous CrawledResource is now IndexedResource as its created by the indexer.
* Frontend: Use ResultComponent to display search resultsBaitinq2022-10-291-3/+14
|
* Frontend: Show results in reverse order with priorityBaitinq2022-10-281-2/+2
|
* Frontend: Show result website's title and descriptionBaitinq2022-10-281-2/+4
|
* Frontend: Improve responsive layoutBaitinq2022-10-281-34/+37
| | | | | We now kinda use flexbox i think? Needs lots of work regarding centering the search box. Kind of functional for now:)
* Frontend: Make the results state OptionalBaitinq2022-10-281-15/+27
| | | | | We now return "No result!" if the user has actually searched for something and no results were found.
* Misc: Add TODOsBaitinq2022-10-281-0/+2
|
* Frontend: Html: Set footer at the bottom of the pageBaitinq2022-10-281-36/+38
|
* Frontend: Logically structure htmlBaitinq2022-10-281-35/+39
|
* Fronted: Order search results by priorityBaitinq2022-10-271-1/+17
| | | | | | We do this by implementing the PartialOrd and Ord traits into the CrawledResource struct and then using Itertools::sorted() on the display iterator.
* Frontend: Use display_results() function for rendering CrawledResourcesBaitinq2022-10-271-5/+14
|
* Frontend: Fetch results from indexerBaitinq2022-10-271-32/+46
|
* Frontend: Add results field to the state and set dummy resultsBaitinq2022-10-261-2/+46
|
* Frontend: Add basic search_query stateBaitinq2022-10-261-6/+51
|
* Frontend: Add basic layoutBaitinq2022-10-261-1/+37
|
* Client->Frontend: Create yew frontend skeletonBaitinq2022-10-241-0/+12
We have replaced the client with a yew frontend.