ibex-app / frontend

The repository holds the code for front end application to analyze and visualize the results
0 stars 0 forks source link

Update monitor with button click #26

Open aquarazorda opened 2 years ago

aquarazorda commented 2 years ago

Instead of automatically sending a request

davitjnz commented 2 years ago

The only thing that is updated here, is the list of keywords, it is not possible to modify any other parameters from current UI,

api: https://ibex-app.com/api/update_monitor params: class PostMonitor(BaseModel): (same as in create monitor request) title: str descr: str date_from: datetime date_to: Optional[datetime] search_terms: List[str] accounts: List[AccountReques] platforms: Optional[List[Platform]]

davitjnz commented 2 years ago

We leave the automatic request at component load, to create monitor

davitjnz commented 2 years ago

After monitor have been modified, search terms added/removed, 'get sample' button will appear, after clicking that one, the monitor is updated, create sample request is sent, and after timeout, new posts and hits count is fetched