Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

#3 ~ events page recent tweets #31

Merged
merged 45 commits into from
Oct 11, 2018
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
bd87846
Updates @material-ui/core
mts Sep 20, 2018
eb5f81b
Extends Heading
mts Sep 20, 2018
2ce0bc5
Implements FancyTweetList
mts Sep 20, 2018
788ed4d
Passes on tweets and adjusts layout for recent tweets
mts Sep 20, 2018
fff1ae9
Updates css and snapshots
mts Sep 20, 2018
626d653
Removes TweetList
mts Sep 20, 2018
d6e5623
Updates @material-ui/core
mts Oct 2, 2018
4150b8b
Renames to TweetList
mts Oct 2, 2018
b358723
Refines test
mts Oct 2, 2018
81848ed
Moves condition from TweetList to NextEventsBlock
mts Oct 2, 2018
34e3f6e
Updated mock tweets
mts Oct 2, 2018
c399faf
Changes date colour and adds link to tweet
mts Oct 2, 2018
9f01c3a
Moves TweetList to upcoming events section
mts Oct 2, 2018
a2b422f
Filters retweets
mts Oct 2, 2018
cbe662b
Removes Tweet
mts Oct 2, 2018
0c879fc
Removes auto update
mts Oct 2, 2018
0bb2a99
Documents getRecentTweets() environment variables
mts Oct 2, 2018
b009033
Merge branch 'test' into feature/tweet-card
mts Oct 2, 2018
f8e0bf1
Adds link to getRecentTweets documentation
mts Oct 2, 2018
65ac2d3
Updates snapshot
mts Oct 2, 2018
1bfdacc
Triggers builds
mts Oct 2, 2018
31172a7
Adds auto update
mts Oct 2, 2018
0cda10e
Reuses classnames from props
mts Oct 7, 2018
e3e45c8
Adds filtering
mts Oct 7, 2018
ad5efb6
Fix snapshot for build
mdvanes Oct 10, 2018
20c083a
Fix prettier
mdvanes Oct 10, 2018
0294986
Removes Heading
mts Oct 11, 2018
8a7b44f
Uses h2 instead of Heading
mts Oct 11, 2018
c28228b
Removes Button
mts Oct 11, 2018
dddb467
Removes Label
mts Oct 11, 2018
86382ea
Imports bootstrap for stories
mts Oct 11, 2018
2684334
Adds atoms .gitkeep
mts Oct 11, 2018
ce9e802
Updates EventsButton snapshot
mts Oct 11, 2018
4e52214
Extends storybook addons with addon-options
mts Oct 11, 2018
51f7b74
Changes name and url
mts Oct 11, 2018
3a02113
Adds @storybook/addon-options
mts Oct 11, 2018
779747d
Updates css
mts Oct 11, 2018
555bd8d
Extends scripts with gh-pages:deploy
mts Oct 11, 2018
53a73a6
Uses tweet id for key
mts Oct 11, 2018
8eb95fa
Removes gh-pages
mts Oct 11, 2018
9faf657
Skips tests
mts Oct 11, 2018
cf1bb9c
Removes snapshot
mts Oct 11, 2018
83b160b
Restores tests
mts Oct 11, 2018
56eba68
Extends build script
mts Oct 11, 2018
16f3574
Updates snapshot
mts Oct 11, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,8 @@ Ejects `create-react-app` and exposes `react-scripts` executing `react-scripts-t
## Contributing

You can find information about contributing in our [guideline for repository contributors](https://github.com/code-star/codestar-website-react/blob/test/docs/CONTRIBUTING.md)

## Available Lambda Functions

You can find information about available Lambda functions here:
- [getRecentTweets](https://github.com/code-star/codestar-website-react/blob/test/docs/getRecentTweets.md)
10 changes: 10 additions & 0 deletions docs/getRecentTweets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Collecting recent tweets

## Using OAuth-enabled curl for the Twitter API
- Collect data with `twurl /1.1/statuses/user_timeline.json\?screen_name\=[some-screen-name]&count=[some-count]`
- Update data in `public/mock/get-recent-tweets.json`

## Updaing getRecentTweets() lambda function environment parameters
- Navigate to [getRecentTweets()](https://eu-west-1.console.aws.amazon.com/lambda/home?region=eu-west-1#/functions/codestar-nl-serverless-test-getRecentTweets)

- Update values of `DEBUG`, `SCREEN_NAME`, `TWEET_COUNT` environment variables.
591 changes: 254 additions & 337 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@fortawesome/fontawesome-free-regular": "^5.0.10",
"@fortawesome/fontawesome-free-solid": "^5.0.10",
"@fortawesome/react-fontawesome": "^0.0.18",
"@material-ui/core": "^1.3.1",
"@material-ui/core": "^3.1.2",
"@material-ui/icons": "^1.1.0",
"bootstrap-css-only": "^4.1.1",
"classnames": "^2.2.6",
Expand Down Expand Up @@ -57,9 +57,9 @@
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-ts": "REACT_APP_STAGE=dev react-scripts-ts start",
"start": "npm-run-all -p watch-css start-ts",
"build-ts": "react-scripts-ts test -u --env=jsdom --coverage --bail --ci && react-scripts-ts build",
"build-ts": "react-scripts-ts test --env=jsdom --coverage --bail --ci && react-scripts-ts build",
"build": "npm-run-all build-css build-ts",
"test": "react-scripts-ts test --env=jsdom --coverage",
"test": "react-scripts-ts test -u --env=jsdom --coverage",
"test:watchAll:silent": "react-scripts-ts test --env=jsdom --watchAll --silent --verbose",
"test:watchAll:verbose": "react-scripts-ts test --env=jsdom --watchAll --verbose",
"test:watchChanged:silent": "react-scripts-ts test --env=jsdom --watch --onlyChanged --silent --verbose",
Expand Down
3 changes: 1 addition & 2 deletions public/locales/en/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"OUR_PREVIOUS_EVENTS": "Our previous events:",
"SIGN_UP": "Sign up!",
"MORE_INFO": "More info",
"READ_MORE": "Read more",
"RECENT_TWEETS": "Recent tweets:"
"READ_MORE": "Read more"
}
3 changes: 1 addition & 2 deletions public/locales/nl/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"OUR_PREVIOUS_EVENTS": "Onze vorige events:",
"SIGN_UP": "Inschrijven",
"MORE_INFO": "Meer informatie",
"READ_MORE": "Lees meer",
"RECENT_TWEETS": "Recente tweets:"
"READ_MORE": "Lees meer"
}
Loading