Fix Plotly £ format warning and add scraper backend selector to Settings
- MarketView: split tickformat '£,.0f' into tickprefix+'£' + tickformat ',.0f' (Plotly d3 format doesn't accept £ prefix inline) - Settings System tab: add editable dropdown for booking_scraper_backend (hotel page vs search results) with description of the tradeoff; backend was previously read-only in the table Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f2e11bf585
commit
121976b3db
2 changed files with 40 additions and 5 deletions
|
|
@ -1252,7 +1252,7 @@ const RateHistoryModalComponent: React.FC<{ modal: RateHistoryModal; onClose: ()
|
|||
height: 300,
|
||||
legend: { orientation: 'h', y: -0.25 },
|
||||
xaxis: { title: { text: '' }, tickformat: '%d %b %H:%M', type: 'date' },
|
||||
yaxis: { title: { text: 'Rate (£)' }, tickformat: '£,.0f' },
|
||||
yaxis: { title: { text: 'Rate (£)' }, tickprefix: '£', tickformat: ',.0f' },
|
||||
plot_bgcolor: 'var(--body-bg)',
|
||||
paper_bgcolor: 'var(--card-bg)',
|
||||
font: { family: 'inherit', size: 11, color: 'var(--text-dark)' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue