1import React, { useCallback, useState } from 'react';
2import { Grid } from 'indigo-react';
3import { azimuth } from 'azimuth-js';
5import View from 'components/View';
6import ViewHeader from 'components/ViewHeader';
7import { ForwardButton } from 'components/Buttons';
9import { useLocalRouter } from 'lib/LocalRouter';
11export default function Point() {
12 const { pop, push, names } = useLocalRouter();
14 //TODO if we moved the poll fetching logic into a cache/store,
15 // we could be cute here and display "x ongoing" under the buttons.
17 const goDocuments = useCallback(() => push(names.DOCUMENTS), [push, names]);
19 const goUpgrades = useCallback(() => push(names.UPGRADES), [push, names]);
22 <View pop={pop} inset>
23 <Grid.Item full as={ViewHeader}>
26 <Grid className="pt2">
31 onClick={goDocuments}>
35 <Grid.Item full as={ForwardButton} className="mt1" onClick={goUpgrades}>
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list