Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/auto_firmware_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def get_firmware_specifier_build_flag():
return build_flag

def get_time_specifier_build_flag():
build_timestamp = datetime.datetime.now(datetime.UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
build_timestamp = datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
build_flag = "#define BUILD_TIMESTAMP \"" + build_timestamp + "\""
print ("Build date: " + build_timestamp)
return build_flag
Expand Down
10 changes: 0 additions & 10 deletions web/src/components/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faHome } from '@fortawesome/free-solid-svg-icons/faHome';
import { faList } from '@fortawesome/free-solid-svg-icons/faList';
import { faTimeline } from '@fortawesome/free-solid-svg-icons/faTimeline';
import { faTemperatureHalf } from '@fortawesome/free-solid-svg-icons/faTemperatureHalf';
import { faBluetoothB } from '@fortawesome/free-brands-svg-icons/faBluetoothB';
import { faCog } from '@fortawesome/free-solid-svg-icons/faCog';
import { faRotate } from '@fortawesome/free-solid-svg-icons/faRotate';
import { faMagnifyingGlassChart } from '@fortawesome/free-solid-svg-icons/faMagnifyingGlassChart';
import { faChartSimple } from '@fortawesome/free-solid-svg-icons/faChartSimple';
import { faCircleChevronLeft } from '@fortawesome/free-solid-svg-icons/faCircleChevronLeft';
Expand Down Expand Up @@ -60,16 +57,9 @@ const NAVIGATION_SECTIONS = [
id: 'devices',
showDivider: true,
items: [
{ label: 'PID Autotune', link: '/pidtune', icon: faTemperatureHalf },
{ label: 'Bluetooth Devices', link: '/scales', icon: faBluetoothB },
{ label: 'Settings', link: '/settings', icon: faCog },
],
},
{
id: 'updates',
showDivider: true,
items: [{ label: 'System & Updates', link: '/ota', icon: faRotate }],
},
];

function MenuItem({ collapsed = false, icon, isNew = false, label, link }) {
Expand Down
6 changes: 0 additions & 6 deletions web/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ import { faBars } from '@fortawesome/free-solid-svg-icons/faBars';
const Home = lazy(() => import('./pages/Home/index.jsx').then(m => m.Home));
const NotFound = lazy(() => import('./pages/_404.jsx').then(m => m.NotFound));
const Settings = lazy(() => import('./pages/Settings/index.jsx').then(m => m.Settings));
const OTA = lazy(() => import('./pages/OTA/index.jsx').then(m => m.OTA));
const Scales = lazy(() => import('./pages/Scales/index.jsx').then(m => m.Scales));
const ProfileList = lazy(() => import('./pages/ProfileList/index.jsx').then(m => m.ProfileList));
const ProfileEdit = lazy(() => import('./pages/ProfileEdit/index.jsx').then(m => m.ProfileEdit));
const Autotune = lazy(() => import('./pages/Autotune/index.jsx').then(m => m.Autotune));
const ShotHistory = lazy(() => import('./pages/ShotHistory/index.jsx').then(m => m.ShotHistory));
const ShotAnalyzer = lazy(() => import('./pages/ShotAnalyzer/index.jsx').then(m => m.ShotAnalyzer));
const StatisticsPage = lazy(() =>
Expand Down Expand Up @@ -88,9 +85,6 @@ export function App() {
<Route path='/profiles' component={ProfileList} />
<Route path='/profiles/:id' component={ProfileEdit} />
<Route path='/settings' component={Settings} />
<Route path='/ota' component={OTA} />
<Route path='/scales' component={Scales} />
<Route path='/pidtune' component={Autotune} />
<Route path='/history' component={ShotHistory} />
<Route path='/analyzer' component={ShotAnalyzer} />
<Route path='/statistics' component={StatisticsPage} />
Expand Down
218 changes: 0 additions & 218 deletions web/src/pages/Autotune/index.jsx

This file was deleted.

Loading
Loading