mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +00:00
link to referrer site
This commit is contained in:
parent
9755b72ebf
commit
c79e8407a0
@ -5,8 +5,8 @@ This is a general draft document for thoughts and todo's, without any structure
|
|||||||
|
|
||||||
### What's cooking?
|
### What's cooking?
|
||||||
|
|
||||||
- Fix seeding
|
|
||||||
- Update page title when it changes.
|
- Update page title when it changes.
|
||||||
|
- Custom date range picker
|
||||||
- Bulk process tracking requests (Redis or in-memory?)
|
- Bulk process tracking requests (Redis or in-memory?)
|
||||||
- Allow sorting in table overviews.
|
- Allow sorting in table overviews.
|
||||||
- Choose a OS license & settle on name.
|
- Choose a OS license & settle on name.
|
||||||
|
@ -30,7 +30,7 @@ class Table extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<td>{p.Label}</td>
|
<td>{p.Label.substring(0, 15)}</td>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class Dashboard extends Component {
|
|||||||
<Table period={this.state.period} endpoint="screen-resolutions" title="Screen Resolutions" headers={["#", "Resolution", "Count", "%"]} />
|
<Table period={this.state.period} endpoint="screen-resolutions" title="Screen Resolutions" headers={["#", "Resolution", "Count", "%"]} />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<Table period={this.state.period} endpoint="referrers" title="Referrers" headers={["#", "URL", "Count", "%"]} />
|
<Table period={this.state.period} endpoint="referrers" title="Referrers" headers={["#", "URL", "Count", "%"]} labelCell={(p) => ( <td><a href={"//" + p.Label}>{p.Label.substring(0, 15)}</a></td>)} />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<Table period={this.state.period} endpoint="browsers" title="Browsers" headers={["#", "Browser", "Count", "%"]} onAuthError={this.props.onLogout} />
|
<Table period={this.state.period} endpoint="browsers" title="Browsers" headers={["#", "Browser", "Count", "%"]} onAuthError={this.props.onLogout} />
|
||||||
|
@ -19,6 +19,8 @@ CREATE TABLE visitors(
|
|||||||
`country` CHAR(3) NULL
|
`country` CHAR(3) NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
ALTER TABLE visitors ADD UNIQUE(`visitor_key`);
|
||||||
|
|
||||||
CREATE TABLE pages(
|
CREATE TABLE pages(
|
||||||
`id` INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
`id` INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
||||||
`hostname` VARCHAR(63) NOT NULL,
|
`hostname` VARCHAR(63) NOT NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user