Improve MineGeo exploration and mapping features
This commit is contained in:
@@ -74,9 +74,14 @@ export function Dashboard() {
|
||||
<p className="muted">
|
||||
Your maps start privately. You decide when they’re ready for review.
|
||||
</p>
|
||||
<button className="button" onClick={logout}>
|
||||
Sign out
|
||||
</button>
|
||||
<div className="inline-actions">
|
||||
<Link className="button" href="/settings">
|
||||
Account settings
|
||||
</Link>
|
||||
<button className="button" onClick={logout}>
|
||||
Sign out
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{error && (
|
||||
<p role="alert" className="error-message">
|
||||
@@ -102,7 +107,13 @@ export function Dashboard() {
|
||||
{m.source === "plugin" ? "SERVER EXPORT" : "PLAYER CAPTURE"}
|
||||
</span>
|
||||
<h3>{m.name}</h3>
|
||||
<span className="badge">{m.state}</span>{" "}
|
||||
<span className="badge">
|
||||
{m.contribution_status
|
||||
? `Contribution: ${m.contribution_status}`
|
||||
: m.update_state
|
||||
? `Update: ${m.update_state}`
|
||||
: m.state}
|
||||
</span>{" "}
|
||||
<span className="muted">{m.panorama_count} locations</span>
|
||||
<ProcessingProgress job={m.upload_jobs} />
|
||||
{m.rejection_reason && (
|
||||
@@ -113,7 +124,7 @@ export function Dashboard() {
|
||||
)}
|
||||
</div>
|
||||
<Link href={"/dashboard/" + m.id} className="button">
|
||||
Open draft →
|
||||
{m.parent_dataset_id ? "Open contribution →" : "Open map →"}
|
||||
</Link>
|
||||
</article>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user