mirror of https://github.com/status-im/fathom.git
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?
|
||||
|
||||
- Fix seeding
|
||||
- Update page title when it changes.
|
||||
- Custom date range picker
|
||||
- Bulk process tracking requests (Redis or in-memory?)
|
||||
- Allow sorting in table overviews.
|
||||
- Choose a OS license & settle on name.
|
||||
|
|
|
@ -30,7 +30,7 @@ class Table extends Component {
|
|||
}
|
||||
|
||||
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", "%"]} />
|
||||
</div>
|
||||
<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 class="col-2">
|
||||
<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
|
||||
);
|
||||
|
||||
ALTER TABLE visitors ADD UNIQUE(`visitor_key`);
|
||||
|
||||
CREATE TABLE pages(
|
||||
`id` INTEGER UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
||||
`hostname` VARCHAR(63) NOT NULL,
|
||||
|
|
Loading…
Reference in New Issue