Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EECS493
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tspuller
EECS493
Commits
514cbfc8
Commit
514cbfc8
authored
4 years ago
by
theraj
Browse files
Options
Downloads
Patches
Plain Diff
moved IG raw data and charts to import page
parent
52cfb8cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/containers/Instagram/Import.js
+49
-0
49 additions, 0 deletions
src/containers/Instagram/Import.js
with
49 additions
and
0 deletions
src/containers/Instagram/Import.js
+
49
−
0
View file @
514cbfc8
import
React
,
{
Component
}
from
'
react
'
;
import
{
Row
,
Col
}
from
'
antd
'
;
import
moment
from
'
moment
'
import
Dropzone
from
'
@imd/components/uielements/dropzone
'
;
import
{
notification
}
from
'
@imd/components
'
;
...
...
@@ -13,10 +14,15 @@ import basicStyle from '@imd/assets/styles/constants';
import
FrappeChart
from
'
frappe-charts/dist/frappe-charts.min.esm
'
;
import
*
as
configs
from
'
./config
'
;
import
'
frappe-charts/dist/frappe-charts.min.css
'
;
import
Tabs
,
{
TabPane
}
from
'
@imd/components/uielements/tabs
'
;
import
IsoWidgetsWrapper
from
'
@imd/containers/Widgets/WidgetsWrapper
'
;
import
CardWidget
from
'
@imd/containers/Widgets/Card/CardWidget
'
;
import
IntlMessages
from
'
@imd/components/utility/intlMessages
'
;
import
UserData
from
'
./Data/connections.json
'
;
import
ConnectionsByDayLine
from
'
./Components/ConnectionsByDayLine/ConnectionsByDayLine
'
;
function
callback
(
key
)
{}
export
default
class
extends
Component
{
...
...
@@ -100,6 +106,49 @@ export default class extends Component {
<
/DropzoneWrapper
>
<
/ContentHolder
>
<
/Box
>
<
PageHeader
>
Data
&
Analytics
<
/PageHeader
>
<
Box
>
<
Tabs
defaultActiveKey
=
"
1
"
onChange
=
{
callback
}
>
<
TabPane
tab
=
"
Raw Data
"
key
=
"
1
"
>
<
Tabs
defaultActiveKey
=
"
1
"
onChange
=
{
callback
}
>
<
TabPane
tab
=
"
Followers
"
key
=
"
1
"
>
{
Object
.
entries
(
UserData
.
followers
).
map
(([
name
,
date
])
=>
(
<
Col
lg
=
{
6
}
md
=
{
12
}
sm
=
{
12
}
xs
=
{
24
}
style
=
{
colStyle
}
>
<
Box
>
<
h1
>
{
name
}
<
/h1
>
<
div
>
{
moment
(
date
).
format
(
'
YYYY-MM-DD
'
)}
<
/div
>
<
/Box
>
<
/Col
>
))}
<
/TabPane
>
<
TabPane
tab
=
"
Following
"
key
=
"
2
"
>
{
Object
.
entries
(
UserData
.
following
).
map
(([
name
,
date
])
=>
(
<
Col
lg
=
{
6
}
md
=
{
12
}
sm
=
{
12
}
xs
=
{
24
}
style
=
{
colStyle
}
>
<
Box
>
<
h1
>
{
name
}
<
/h1
>
<
div
>
{
moment
(
date
).
format
(
'
YYYY-MM-DD
'
)}
<
/div
>
<
/Box
>
<
/Col
>
))}
<
/TabPane
>
<
/Tabs
>
<
/TabPane
>
<
TabPane
tab
=
"
Graphs
"
key
=
"
2
"
>
<
Row
style
=
{
rowStyle
}
gutter
=
{
0
}
justify
=
"
start
"
>
<
Col
lg
=
{
24
}
md
=
{
12
}
sm
=
{
12
}
xs
=
{
24
}
style
=
{
colStyle
}
>
<
IsoWidgetsWrapper
>
<
Box
title
=
"
Connections By Day
"
>
<
ContentHolder
>
<
ConnectionsByDayLine
/>
<
/ContentHolder
>
<
/Box
>
<
/IsoWidgetsWrapper
>
<
/Col
>
<
/Row
>
<
/TabPane
>
<
/Tabs
>
<
/Box
>
<
/LayoutWrapper
>
);
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment