Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.5.4 #1144

Merged
merged 142 commits into from
Jul 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
bec05e4
Change deeplink tip url
etharner May 12, 2021
2c86fa3
feature(release): 0.5.2 - compatible with new db endpoints
AtanasKrondev Jun 17, 2021
3ec2aa5
Fix footer section
AtanasKrondev Jun 17, 2021
76a8139
Fix tipping error warning style
AtanasKrondev Jun 17, 2021
6b847b6
Meta tags for social media previews
AtanasKrondev Jun 8, 2021
c9db166
Show reply only for a selected comment
AtanasKrondev Apr 28, 2021
0ed6488
Merge remote-tracking branch 'origin/master' into develop
kenodressel Jun 28, 2021
3a7c358
Update SDK to 8.2.1
davidyuk Jun 27, 2021
242f3c2
Remove `cache-loader` that is not used directly
davidyuk Jun 27, 2021
1ae44e3
Update dependencies
davidyuk Jun 27, 2021
60a0629
Set `repository` field to avoid warnings from npm
davidyuk Jun 28, 2021
785d16e
Drop `vue-aos`
davidyuk Jun 28, 2021
f191517
Adjust half-closed wallet height
AtanasKrondev Jun 24, 2021
48f49ed
Hide claim option for posts without tips
AtanasKrondev Jun 24, 2021
450d8b3
chore: fix testnet URL
davidyuk Jun 28, 2021
dbf3734
fix(middleware): schemes field (get broken after updating SDK)
davidyuk Jun 28, 2021
b0cabca
refactor: load WordInfo async
davidyuk May 18, 2021
c84b8c9
Merge pull request #1110 from aeternity/feature/fix-testnet
davidyuk Jun 29, 2021
6fc924d
Merge pull request #1081 from aeternity/feature/split-bundle
davidyuk Jun 29, 2021
7697902
refactor: drop old-fashioned unnecessary `_` prefix
davidyuk Jun 29, 2021
30f66d3
refactor(FooterSection): simplify markup
davidyuk Jun 29, 2021
5f3d73b
refactor(AeButton): remove unused `src` property
davidyuk Jun 28, 2021
7ba58b3
refactor(AeButton): accept `to` property
davidyuk Jun 28, 2021
a173245
refactor(ImageGallery): open for specific image, extract to modals
davidyuk Jun 29, 2021
bfd378b
refactor(GiphySearch): simplify markup
davidyuk Jun 29, 2021
ccc098b
refactor(AeButton): don't use Bootstrap classes
davidyuk Jun 30, 2021
a7bf2d6
refactor: specify vertical-align explicitly
davidyuk Jun 30, 2021
39b1781
refactor(SearchInput): use `:focus-within` instead of internal state
davidyuk Jun 30, 2021
e8870dd
refactor(TipRecord): don't use bootstrap `pr-2` class
davidyuk Jun 30, 2021
1c048f0
refactor: extract Spinner component (copied from Bootstrap)
davidyuk Jun 30, 2021
0c3c0f6
refactor(AeInputAmount): name root node as component
davidyuk Jun 30, 2021
f73c69c
refactor(SendPost): don't use Bootstrap classes, reuse AeButton
davidyuk Jun 30, 2021
1cade4c
refactor: add styles needed for Bootstrap removal
davidyuk Jun 30, 2021
6cbead3
refactor(TipInput): simplify markup, don't use Bootstrap
davidyuk Jun 30, 2021
161b470
refactor: don't use Bootstrap in AeInputAmount, SendTip
davidyuk Jun 30, 2021
3369a45
Drop maintenance page
Apr 1, 2021
9251f4e
Merge pull request #1115 from aeternity/feature/drop-maintenance-page
davidyuk Jul 1, 2021
bda5687
refactor: CSS breakpoints
davidyuk Jul 1, 2021
aa5b0bd
fix(TipMedia): explicitly define aspect ratio
davidyuk Jul 1, 2021
8b90767
Merge pull request #1114 from aeternity/feature/refactor-styles
davidyuk Jul 1, 2021
96a6674
Add missing word registry address in test env
AtanasKrondev Jul 1, 2021
b277a3b
Fix WordBazaar wording
AtanasKrondev Jul 1, 2021
c479a45
Change confusing wording
AtanasKrondev Jul 2, 2021
2c857e3
Fix voting status dinamic width
AtanasKrondev Jul 2, 2021
74b5d43
refactor: drop unlinked tutorial pages
davidyuk Jul 2, 2021
c79b6a7
refactor: drop unlinked CreateProfile tutorial
davidyuk Jul 2, 2021
c8a0dff
refactor(feed): store selected mode in path query
davidyuk Jun 30, 2021
ec58143
feat(ExpandableBlock): work without JS
davidyuk Jul 1, 2021
144e64d
refactor(AuthorAndDate): extract Author component for SSR
davidyuk Jul 1, 2021
6c51079
refactor(TopicList): fetch data once in a session
davidyuk Jul 2, 2021
cd1747c
refactor(WordDetail): accept `word` as prop
davidyuk Jul 2, 2021
3ca4f07
refactor(landing): exclude animate of other pages styles in SSR
davidyuk Jul 2, 2021
4dd757e
refactor(TipsAndComments): opengraph meta tags
davidyuk Jul 2, 2021
10f8171
refactor: drop unlinked Mission page
davidyuk Jul 2, 2021
f682425
refactor: disable vue-i18n/no-raw-text rule
davidyuk Jul 2, 2021
49d6617
Merge pull request #1121 from aeternity/feature/ssr-preparations
davidyuk Jul 2, 2021
c61b405
Merge pull request #1123 from aeternity/feature/disable-no-raw-text
AtanasKrondev Jul 5, 2021
4cd906b
Switch to testnet
davidyuk Mar 11, 2021
cc877a7
fix testnet conf
thepiwo Jul 5, 2021
bdd718e
fix testnet conf
thepiwo Jul 1, 2021
cadf981
update v2 address and dependency
thepiwo Jul 1, 2021
082eb37
Merge pull request #1120 from aeternity/fix-testnet
thepiwo Jul 5, 2021
e70066c
refactor: drop bootstrap
davidyuk Jun 29, 2021
968045a
refactor: drop `not-bootstrap-` prefix
davidyuk Jun 30, 2021
7b8dd14
fix: styles
davidyuk Jul 3, 2021
ad19aa8
refactor(UserInfo): simplify background image markup
davidyuk Jul 6, 2021
78b7ff2
fix(UserInfo): avoid horizontal scrolling
davidyuk Jul 6, 2021
053fb6e
refactor(UserInfo): simplify balance styles
davidyuk Jul 6, 2021
c3adc01
fix(UserInfo): realign edit buttons
davidyuk Jul 6, 2021
9aeca0d
Merge pull request #1124 from aeternity/feature/drop-bootstrap
davidyuk Jul 6, 2021
3457c0d
Merge pull request #1127 from aeternity/feature/fix-user-profile
davidyuk Jul 6, 2021
f72311e
refactor: extract ButtonFeed component
davidyuk Jul 3, 2021
1c775e4
fix: reply to nested comments, disable reply button in comment details
davidyuk Jul 3, 2021
5fa8858
fix(AuthorAndData): more efficient by avoiding 80% constant
davidyuk Jul 3, 2021
8a9354b
refactor(TipComment): use plain link
davidyuk Jul 5, 2021
297e52f
refactor(ThreeDotsMenu): name class the same as component
davidyuk Jul 5, 2021
98ff2df
refactor(ThreeDotsMenu): use ButtonPlain
davidyuk Jul 5, 2021
6af4dde
refactor: refactor TipTitle styles
davidyuk Jul 6, 2021
4a0e133
style(VoteCard): fix linter warnings automatically
davidyuk Jul 6, 2021
c84ffa3
fix(AeAmountFiat): remove extra space between ae and fiat
davidyuk Jul 6, 2021
92eac3c
Merge pull request #1129 from aeternity/feature/refactor-cards
davidyuk Jul 6, 2021
6b71d9e
fix(UserProfile): make icon color consistent with button color
davidyuk Jul 6, 2021
677ad2d
refactor(ActivityRibbon): remove props, rename left slot to default
davidyuk Jul 6, 2021
85c4d04
refactor(TabBar): remove props, rename left slot to default
davidyuk Jul 6, 2021
081ce35
fix(FeedPagination): styles of no result message
davidyuk Jul 6, 2021
70017ca
refactor(UserProfile): store state in URL
davidyuk Jul 6, 2021
0693bc1
refactor(Link): add `to-relative` property
davidyuk Jul 6, 2021
025c6ed
Merge pull request #1122 from aeternity/feature/drop-tutorials
davidyuk Jul 7, 2021
d1db148
Merge pull request #1130 from aeternity/feature/fix-tip-input
davidyuk Jul 7, 2021
9ca7daa
Merge pull request #1131 from aeternity/feature/refactor-user-profile
davidyuk Jul 7, 2021
c22943c
refactor: remove styles for class not referenced in markup
davidyuk Jul 7, 2021
d4f2bbc
fix: update brighter colors from details view in list of tips
davidyuk Jul 7, 2021
4643e17
refactor(TipRecord): simplify markup
davidyuk Jul 7, 2021
2252b8d
refactor: isolate TipPreview styles from styles of nested components
davidyuk Jul 7, 2021
71ed669
fix(PlayButton): spinner and simplify markup
davidyuk Jul 7, 2021
4b0ffb9
feat(SoundCloudPlayer): show error message if track is not available
davidyuk Jul 7, 2021
26f2d4e
refactor(TipPreview): simplify markup
davidyuk Jul 7, 2021
ff29229
refactor(YouTubeEmbed): simplify markup
davidyuk Jul 8, 2021
0c4d104
refactor(SoundCloudEmbed): simplify markup
davidyuk Jul 8, 2021
ac2a3df
refactor(TwitterEmbed): simplify markup
davidyuk Jul 8, 2021
91bce13
fix(CookiesDialog): revert proper positioning
davidyuk Jul 8, 2021
9b3a8ee
refactor(SoundCloud): name class as component
davidyuk Jul 8, 2021
02e98c7
refactor: make preview image required, remove extra var in TipPreview
davidyuk Jul 11, 2021
c06a1b3
Merge pull request #1135 from aeternity/feature/refactor-tip-record
davidyuk Jul 13, 2021
62c1a47
refactor(TipRecord): use plain link
davidyuk Jul 8, 2021
09298c5
fix(Twitter,SoundCloud): text cropping in preview
davidyuk Jul 13, 2021
698b3ed
fix(Twitter,SoundCloud): preview image height in UC browser
davidyuk Jul 13, 2021
87147c6
Merge pull request #1138 from aeternity/feature/tip-plain-link
davidyuk Jul 13, 2021
bb9cebc
refactor(Author): show UserPopup using popperjs
davidyuk Jul 9, 2021
f65eb8f
refactor(TipRecord): extract FeedItemMenu
davidyuk Jul 10, 2021
f9d036a
refactor(Dropdown): simplify and specify prop types
davidyuk Jul 10, 2021
521a781
refactor: extract TokenSelect popup
davidyuk Jul 10, 2021
bdb1e6f
refactor(TipInput): extract TipInputPopup
davidyuk Jul 10, 2021
76bd5e8
fix: open CookiesDialog as modal to don't crop it by overflow
davidyuk Jul 13, 2021
759b5ce
fix: avoid "User navigated outside" error by defining nav behaviour
davidyuk Jul 13, 2021
c380bf8
fix(CookiesDialog): don't flicker by disabling flipping
davidyuk Jul 14, 2021
18403d6
fix(TokenSelect): add missed space between token name and amount
davidyuk Jul 15, 2021
a66348f
fix(RightSectionWallet): don't hide currency dropdown if AE chosen
davidyuk Jul 15, 2021
ec25196
Merge pull request #1139 from aeternity/feature/refactor-dropdowns
davidyuk Jul 15, 2021
3546846
Add @uvue/vue-cli-plugin-ssr
davidyuk Dec 6, 2020
f3bf273
Fix runtime es import/export errors by inlining into a server bundle
davidyuk Dec 6, 2020
2ede48d
Async import of libraries that depends on window on evaluation
davidyuk Dec 6, 2020
84f511f
Sync SSR state with client store
davidyuk Dec 6, 2020
4472662
Polyfill fetch in SSR
davidyuk Dec 6, 2020
8585ada
Fix building of server side
davidyuk Jan 16, 2021
7cabde3
feat(ssr): fetch data
davidyuk Dec 6, 2020
72e684b
fix(template): sync templates, add favicon in SSR, remove extra option
davidyuk Jul 2, 2021
a453b53
feat(ssr): setup custom internal error page
davidyuk Jul 2, 2021
7d56fbc
fix(ssr): avoid hydration failures by wrapping auth components
davidyuk Jul 2, 2021
e827625
fix: parts that depend on browser in SSR
davidyuk Dec 6, 2020
6555ac2
refactor: remove empty folder
davidyuk Jul 12, 2021
82594f2
feat: show SSR rendering time
davidyuk Jul 12, 2021
eff22b6
perf: cache some backend endpoints for 15 minutes to speedup rendering
davidyuk Jul 12, 2021
be1678a
perf(Author): use chainNames to reduce amount of requests
davidyuk Jul 12, 2021
10cfd3c
fix(title): remove extra dash of page have no title
davidyuk Jul 12, 2021
7faaee5
ci: deploy SSR
venimus Mar 22, 2021
9da5d53
ci: add Dockerfile
davidyuk Jul 14, 2021
d911134
fix(AeInputAmount): show correct fiat value
davidyuk Jul 15, 2021
9feffee
Merge pull request #1141 from aeternity/feature/fix-fiat-aeinputamount
davidyuk Jul 15, 2021
3ad2490
Merge pull request #908 from aeternity/feature/ssr-uvue
davidyuk Jul 15, 2021
fbdd8ad
remove unused stats endpoint
thepiwo Jul 22, 2021
715c44e
chore(release): 0.5.4
imollov Jul 23, 2021
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
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
/dist
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[*.{js,jsx,ts,tsx,vue,scss,svg}]
[*.{js,jsx,ts,tsx,vue,scss,svg,html}]
indent_style = space
indent_size = 2
end_of_line = lf
Expand Down
9 changes: 6 additions & 3 deletions .env.tnet
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
VUE_APP_BACKEND_URL=https://test-tipping.aeternity.art
VUE_APP_BACKEND_URL=https://testnet.superhero.aeternity.art
VUE_APP_NODE_URL=https://testnet.aeternity.io
VUE_APP_MIDDLEWARE_URL=https://testnet.aeternity.io/mdw
VUE_APP_EXPLORER_URL=https://testnet.aeternal.io

VUE_APP_CONTRACT_V1_ADDRESS=ct_2Cvbf3NYZ5DLoaNYAU71t67DdXLHeSXhodkSNifhgd7Xsw28Xd
VUE_APP_CONTRACT_V2_ADDRESS=ct_2ZEoCKcqXkbz2uahRrsWeaPooZs9SdCv6pmC4kc55rD4MhqYSu
VUE_APP_CONTRACT_V2_ADDRESS=ct_2bvoxQ6cwwzoFASuddUxzsYVBZUet9KGHRAp7i25xsMXEWvSvx
VUE_APP_CONTRACT_V3_ADDRESS=ct_WscpdLQf6ZZxoVqrsEwUwmuAEdzEkJii5W5TzG84rVgHeK6BW
VUE_APP_WORD_REGISTRY_ADDRESS=ct_2sHzycCWkiyfZkCMoprn3Q7U8SQh3FYXp6iB1RAFVJy1pNWZAY

VUE_APP_WORD_REGISTRY_ADDRESS=ct_2vTMtHgJTxTpsQ8Tm3o6DmfDkhc3vM4DefV845Yp9FSDuS6YWB
VUE_APP_BONDING_CURVE_18_DECIMALS_ADDRESS=ct_2e1ZjvVXVi5f2ZiTqiFgs29oN1r1dhhdv2irvnnkvkoGZBgMPf
VUE_APP_WORDBAZAAR_ENABLED=true
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
'vue/v-on-function-call': 'error',
'vue-i18n/no-dynamic-keys': 'error',
'vue-i18n/no-unused-keys': 'error',
'vue-i18n/no-raw-text': 'error',
'vue-i18n/no-raw-text': 'off',
},
overrides: [
{
Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/ssr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: SSR deploy
on: [push, pull_request]
jobs:
deploy:
if: github.event_name == 'push'
runs-on: ubuntu-latest
env:
TARGET: ${{ format('/home/{0}/superhero-ui', secrets.SSR_STAGE_USER) }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run ssr:build

- name: Deploy to stage
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.SSR_STAGE_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.SSR_STAGE_HOST }}
REMOTE_USER: ${{ secrets.SSR_STAGE_USER }}
SOURCE: .
TARGET: ${{ env.TARGET }}
EXCLUDE: '/.git/, /node_modules/'

- name: Execute SSH commmands on remote server
uses: JimCronqvist/action-ssh@master
env:
NODE_ENV: production
HOME: /home/${{ secrets.SSR_STAGE_USER }}
NVM_DIR: /home/${{ secrets.SSR_STAGE_USER }}/.nvm
TARGET: ${{ env.TARGET }}
with:
hosts: '${{ secrets.SSR_STAGE_USER }}@${{ secrets.SSR_STAGE_HOST }}'
privateKey: ${{ secrets.SSR_STAGE_PRIVATE_KEY }}
debug: true
command: |
source ${{ env.NVM_DIR }}/nvm.sh || exit 1
cd ${{ env.TARGET }} || exit 1
nvm install 14 --latest-npm --no-progress --default || exit 1
npm ci || exit 1
killall node
setsid nohup npm run ssr:start </dev/null &2>log.log &
disown

comment:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: unsplash/comment-on-pr@85a56be792d927ac4bfa2f4326607d38e80e6e60
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOST: ${{ secrets.SSR_STAGE_HOST }}
with:
msg: SSR will be deployed to [${{ env.HOST }}](https://${{ env.HOST }}), [bundle report](https://${{ env.HOST }}/report.html)
check_for_duplicate_msg: true
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM node:14 as builder

RUN mkdir -p /home/node/app
WORKDIR /home/node/app
COPY package*.json /home/node/app/
RUN chown -R node:node /home/node/

USER node

RUN npm ci
COPY --chown=node:node . /home/node/app
ENV NODE_ENV=production
RUN npm run ssr:build


FROM node:14-alpine

ENV NODE_ENV production
ENV HOST 0.0.0.0
ENV PORT 8080
EXPOSE 8080

USER node
WORKDIR /home/node/app

COPY --chown=node:node --from=builder /home/node/app /home/node/app

CMD ["./node_modules/@uvue/server/start.js"]
4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ module.exports = {
presets: [
'@vue/cli-plugin-babel/preset',
],
plugins: [
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
};
Loading