1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 14:34:19 +00:00

Resolve most TODOs

This commit is contained in:
Steffo 2021-05-18 16:57:43 +02:00
parent a4bd1d2ab7
commit d38caffb0a
Signed by: steffo
GPG key ID: 6965406171929D01
8 changed files with 5 additions and 9 deletions

View file

@ -53,8 +53,6 @@
.Icon {
font-size: large;
/* TODO: non so quanto sia una buona idea, ma funziona accettabilmente */
line-height: 0;
vertical-align: sub;
}

View file

@ -6,7 +6,7 @@ import classNames from "classnames"
/**
* A slider that allows to select a numeric value in a range.
*
* @todo Custom styling only works on Firefox!
* Custom styling only works on Firefox!
*
* @param className - Additional class(es) to add to the element.
* @param props - Additional props to pass to the element.

View file

@ -11,7 +11,6 @@ import BoxMap from "../base/BoxMap"
const STARTING_POSITION = { lat: 41.89309, lng: 12.48289 }
const STARTING_ZOOM = 3
// FIXME: this only works correctly at the equator!
/**
* https://wiki.openstreetmap.org/wiki/Zoom_levels
*/

View file

@ -11,7 +11,6 @@ import ContextLanguage from "../../contexts/ContextLanguage"
/**
* The sidebar of the website, with the logo, buttons to switch between the various pages and a notification counter.
*
* @todo The notification counter is still missing.
* @param className - Additional class(es) to be added to the outer container.
* @param props - Additional props to be passed to the outer container.
* @returns {JSX.Element}

View file

@ -2,6 +2,6 @@ import { createContext } from "react"
/**
* @todo Document this.
* Context to quickly pass props to the children of {@link RepositoryEditor}.
*/
export default createContext(null)

View file

@ -2,6 +2,6 @@ import { createContext } from "react"
/**
* @todo Document this.
* Context to quickly pass props to the children of {@link RepositoryViewer}.
*/
export default createContext(null)

View file

@ -3,7 +3,7 @@ import ContextRepositoryEditor from "../contexts/ContextRepositoryEditor"
/**
* @todo Document this.
* Hook to quickly use {@link ContextRepositoryEditor}.
*/
export default function useRepositoryEditor() {
const context = useContext(ContextRepositoryEditor)

View file

@ -3,7 +3,7 @@ import ContextRepositoryViewer from "../contexts/ContextRepositoryViewer"
/**
* @todo Document this.
* Hook to quickly use {@link ContextRepositoryViewer}.
*/
export default function useRepositoryViewer() {
const context = useContext(ContextRepositoryViewer)