mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
f4039003e1
* DashboardHeader to ts * Convert files to typescript * Use BindLogic instead of passing logics as arguments * Improve typing for dashboards * Fix DashboardHeader types * Improve typing: DashboardItem * Fix InsightHistoryPanel, SharedDashboard types * Add WIP code for date ranges on dashboards * DateFilter/dateFilterLogic to typescript * Show 'Custom' daterange by default on a dashboard * Border for dates in Dashboard * Add dashboard.filters field * Populate dashboard.filters, use it in code * Fix some type errors in dashboardItemsModel * Fetch dashboard items again on date change * Make dashboard items refresh as dashboard gets updated * Add refresh button to DashboardHeader * Make saving dashboard items work again * Update dashboard type * Don't update URL in DateFilter * Update selected time range on load * Avoid flickering in DateFilter * Only show 'Custom' in dashboards * Show calendar icon next to date filter in dashboard * Avoid double-loading results due to date change * Kill some duplicated code * Avoid cache when filters change (datefilters on dashboard) * Test individual update_cache method * Add test for import_from and attributes being updated * Fix typing errors * Update api/dashboard tests * Avoid redirects when changing date range for funnels or retention Previously funnelLogic might be mounted in the background, causing a reload * Add a missing breakpoint * Reformat with black |
||
---|---|---|
.. | ||
public | ||
src |