Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Frontend: Pin yew version to 0.20 HEAD master | Baitinq | 2022-11-26 | 1 | -3/+3 |
| | |||||
* | Frontend: Append "..." to truncated titles and descriptions | Baitinq | 2022-11-06 | 1 | -6/+10 |
| | |||||
* | Frontend: Display a loading animation when results have not been loaded | Baitinq | 2022-11-06 | 1 | -8/+26 |
| | | | | | | We now have a way to represent unloaded results in the SearchResult struct. We simply wrap an Option over the results, meaning that None signifies that the results have not yet been fetched. | ||||
* | Frontend: Display a maximum number of chars for title and desc | Baitinq | 2022-11-06 | 1 | -2/+16 |
| | |||||
* | Frontend: Store custom SearchResult struct in the app state | Baitinq | 2022-11-06 | 1 | -45/+57 |
| | | | | | | This allows us to store both the original query and the original results in the struct, being able to reference them while displaying. This fixes the search query below the search bar being updated with it. | ||||
* | Indexer: Switch back to not serving frontend with actix | Baitinq | 2022-11-05 | 1 | -2/+10 |
| | | | | | | | This previously caused the frontend to be unresponsive when the crawler was passing results to the indexer. Now the frontend is again independently served by trunk and the api by actix, which makes them separate processes and the frontend can remain responsive. | ||||
* | Frontend: Display number of results below search bar | Baitinq | 2022-11-05 | 1 | -8/+17 |
| | |||||
* | Frontend: Link the OSSE logo to / | Baitinq | 2022-11-05 | 1 | -1/+3 |
| | |||||
* | Indexer+Frontend: Integrate with actix | Baitinq | 2022-11-05 | 1 | -2/+2 |
| | |||||
* | Lib+Indexer: Make IndexedResource title and description Optional | Baitinq | 2022-11-02 | 1 | -3/+4 |
| | |||||
* | Frontend: Result component: Add more font related css | Baitinq | 2022-11-01 | 1 | -5/+17 |
| | |||||
* | Frontend: Result component: Show "No Description" if empty description | Baitinq | 2022-11-01 | 1 | -2/+5 |
| | |||||
* | Frontend: Result component: Use the stylist crate to apply basic css | Baitinq | 2022-11-01 | 2 | -2/+16 |
| | |||||
* | Frontend: Result component: Add basic structure | Baitinq | 2022-11-01 | 1 | -3/+6 |
| | |||||
* | Frontend: Reduce code duplication in the initial_search_query path of ↵ | Baitinq | 2022-11-01 | 1 | -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 errors | Baitinq | 2022-11-01 | 1 | -32/+71 |
| | |||||
* | Misc: Cargo fmt | Baitinq | 2022-10-30 | 2 | -12/+18 |
| | |||||
* | Frontend: Change navbar links | Baitinq | 2022-10-30 | 1 | -4/+4 |
| | | | | Now logo points to / and "Made by Baitinq" to the project's git | ||||
* | Frontend: URL encode and decode the search_query | Baitinq | 2022-10-30 | 2 | -2/+3 |
| | |||||
* | Frontend: Implement support for searching with /search/* routes | Baitinq | 2022-10-30 | 2 | -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 master | Baitinq | 2022-10-30 | 3 | -6/+7 |
| | | | | This enables us to use the new Router API | ||||
* | Frontend: Setup skeleton route support | Baitinq | 2022-10-30 | 3 | -3/+37 |
| | | | | | 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.rs | Baitinq | 2022-10-30 | 2 | -184/+180 |
| | |||||
* | Misc: Remove unneeded dependencies | Baitinq | 2022-10-30 | 1 | -2/+0 |
| | |||||
* | Misc: Add local lib crate to share common structs | Baitinq | 2022-10-30 | 2 | -43/+3 |
| | |||||
* | Frontend: Add props to the OSSE Component | Baitinq | 2022-10-30 | 1 | -3/+9 |
| | | | | We can now set the API endpoint in the props. | ||||
* | Frontend: Change OSSE component into a struct component | Baitinq | 2022-10-30 | 1 | -76/+88 |
| | | | | I think this improves readability for components with state. | ||||
* | Crawler+Indexer+Frontend: Rename structs to follow logical relations | Baitinq | 2022-10-29 | 1 | -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 results | Baitinq | 2022-10-29 | 1 | -3/+14 |
| | |||||
* | Frontend: Show results in reverse order with priority | Baitinq | 2022-10-28 | 1 | -2/+2 |
| | |||||
* | Frontend: Show result website's title and description | Baitinq | 2022-10-28 | 1 | -2/+4 |
| | |||||
* | Indexer: Add website title and description to the CrawledResource | Baitinq | 2022-10-28 | 1 | -0/+1 |
| | | | | We now parse the HTML and extract the title and description of the site. | ||||
* | Frontend: Improve responsive layout | Baitinq | 2022-10-28 | 1 | -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 Optional | Baitinq | 2022-10-28 | 1 | -15/+27 |
| | | | | | We now return "No result!" if the user has actually searched for something and no results were found. | ||||
* | Misc: Add TODOs | Baitinq | 2022-10-28 | 1 | -0/+2 |
| | |||||
* | Frontend: Html: Set footer at the bottom of the page | Baitinq | 2022-10-28 | 1 | -36/+38 |
| | |||||
* | Frontend: Logically structure html | Baitinq | 2022-10-28 | 1 | -35/+39 |
| | |||||
* | Frontend: Add local bootstrap files | Baitinq | 2022-10-28 | 3 | -5/+18 |
| | |||||
* | Fronted: Order search results by priority | Baitinq | 2022-10-27 | 2 | -2/+19 |
| | | | | | | 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 CrawledResources | Baitinq | 2022-10-27 | 1 | -5/+14 |
| | |||||
* | Frontend: Fetch results from indexer | Baitinq | 2022-10-27 | 2 | -33/+50 |
| | |||||
* | Frontend: Add results field to the state and set dummy results | Baitinq | 2022-10-26 | 1 | -2/+46 |
| | |||||
* | Frontend: Add basic search_query state | Baitinq | 2022-10-26 | 2 | -7/+55 |
| | |||||
* | Frontend: Add basic layout | Baitinq | 2022-10-26 | 2 | -1/+43 |
| | |||||
* | Frontend: Update index.html to include boostrap | Baitinq | 2022-10-25 | 1 | -3/+16 |
| | | | | Also setup viewport and title. | ||||
* | Crawler: Use async Client | Baitinq | 2022-10-25 | 1 | -1/+1 |
| | |||||
* | Client->Frontend: Create yew frontend skeleton | Baitinq | 2022-10-24 | 3 | -0/+26 |
We have replaced the client with a yew frontend. |