Skip to content

Commit d44965f

Browse files
authored
Merge pull request #373 from matestack/develop
0.7.4 Release
2 parents 1b50277 + 915daf3 commit d44965f

File tree

254 files changed

+22302
-40999
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+22302
-40999
lines changed

.circleci/config.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/issue_template.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<!-- This is a template only, remove/add sections below as appropriate (e.g. for a new feature, there might be no 'current behaviour'.) -->
1+
<!-- This is a template only, remove/add sections below as appropriate (e.g. for a new feature, there might be no 'current behavior'.) -->
22

33
<!-- First indicate whether you want to request an ENHANCEMENT or report a BUG by using the correct Github label in the side panel* -->
44

5-
**What is the current behaviour?**
5+
**What is the current behavior?**
66

7-
<!-- add current behaviour here -->
7+
<!-- add current behavior here -->
88

9-
**If the current behaviour is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug might get fixed faster if we can run your code and it doesn't have extra dependencies. Add a link to a sample repo and/or any relevant code below:**
9+
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug might get fixed faster if we can run your code and it doesn't have extra dependencies. Add a link to a sample repo and/or any relevant code below:**
1010

1111
<!-- add additional links/info here -->
1212

13-
**What is the expected behaviour?**
13+
**What is the expected behavior?**
1414

15-
<!-- add expected behaviour here -->
15+
<!-- add expected behavior here -->
1616

1717
**Which versions of Matestack, and which browser/OS are affected by this issue? Did this work in previous versions of Matestack?**
1818

.github/workflows/dockerpush.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: specs
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Run tests
13+
run: |
14+
docker-compose run --rm test bundle exec rake db:schema:load
15+
docker-compose run --rm test bundle exec rspec spec/usage

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ spec/dummy/db/*.sqlite3
66
spec/dummy/db/*.sqlite3-journal
77
spec/dummy/log/*.log
88
spec/dummy/node_modules/
9+
spec/dummy/public/packs/
910
spec/dummy/yarn-error.log
1011
spec/dummy/storage/
1112
spec/dummy/tmp/
@@ -18,3 +19,5 @@ builder/storage/
1819
builder/tmp/
1920
builder/public/packs
2021
.idea/
22+
23+
/coverage

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.6.1

CHANGELOG.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,64 @@
11
# Changelog
22

3+
## v0.7.4
4+
5+
[Merged PRs](https://github.com/basemate/matestack-ui-core/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.7.4)
6+
7+
[Solved Issues](https://github.com/basemate/matestack-ui-core/issues?q=is%3Aissue+is%3Aclosed+milestone%3A0.7.4)
8+
9+
### Improvements
10+
11+
* On form submit, matestack form values are reset to previous values by fiedl
12+
--> The form component now does not reset itself when using `put`
13+
--> The reset behavior can now be configured (described in `form` component docs)
14+
15+
* Dockerized core dev and test environment by jonasjabari
16+
--> easy local dev and test setup, cross-platform default for dev and testing
17+
--> CI is configured to run tests via dockerized test suite; same as local testing and good base for matrix testing (upcoming)
18+
--> Usage described in contribution docs
19+
20+
* Add `follow_response` option to action component by fiedl
21+
--> same behavior enhancement as added to the `form` component in 0.7.3
22+
--> server may now decide where the transition should navigate to
23+
--> described in `action` component docs
24+
25+
* Add confirm option to action component by fiedl
26+
--> easily add confirmation before performing an action
27+
--> prevent unintended delete action for example
28+
--> described in `action` component docs
29+
30+
* New webpacker features by fiedl
31+
* make webpacker create es5 code instead of es6 code
32+
* Switch to Vue Production Mode if RAILS_ENV=staging or production
33+
* Establish webpack(er) and asset-pipeline workflows
34+
35+
--> webpacker now builds assets for asset pipline usage AND webpacker usage (both usage approaches are described in the installation docs)
36+
--> webpacker now builds minified versions of matestack-ui-core.js (great improvement in file size!)
37+
--> webpacker now builds es5 code, which is compatible with IE11
38+
--> when used via asset pipeline, the minified version of matestack-ui-core together with the production build of vue.js is automatically required
39+
--> when used via webpacker, matestack-ui-core can be used within a modern javascript workflow, importing and extending single matestack module for example
40+
41+
* New components
42+
* Add HTML `<picture>` tag to core components by pascalwengerter
43+
* Add HTML `<option>` tag to core components by pascalwengerter
44+
* Add HTML `<optgroup>` tag to core components by pascalwengerter
45+
* Add HTML `<iframe>` tag to core components by pascalwengerter
46+
* Add HTML `<dfn>` tag to core components by pascalwengerter
47+
* Add HTML `<del>` tag to core components by pascalwengerter
48+
* Add HTML `<data>` tag to core components by pascalwengerter
49+
* Add HTML `<bdo>` tag to core components by pascalwengerter
50+
* Add HTML `<bdi>` tag to core components by pascalwengerter
51+
* Add HTML `<wbr>` tag to core components by pascalwengerter
52+
* Add HTML `<samp>` tag to core components by pascalwengerter
53+
* Add HTML `<u>` tag to core components by pascalwengerter
54+
* Add HTML `<template>` tag to core components by pascalwengerter
55+
56+
57+
### Bugfixes
58+
59+
* Anchor Link Click triggers full page transition by PragTob
60+
61+
362
## v0.7.3
463

564
[Merged PRs](https://github.com/basemate/matestack-ui-core/pulls?q=is%3Apr+is%3Aclosed+milestone%3A0.7.3)
@@ -53,7 +112,7 @@ none
53112

54113
### Bugfixes
55114

56-
* Unexpected behaviour when creating a record in progress by jonasjabari
115+
* Unexpected behavior when creating a record in progress by jonasjabari
57116
* couldn't find file 'matestack_ui_core_manifest.js' on dummy app by jonasjabari
58117
* Add For Attribute to Stand Alone Label Component by bdlb77
59118
* Form component doesn't work on component-level by jonasjabari

Dockerfile.dev

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM ruby:2.6.5-alpine3.9
2+
3+
RUN gem install bundler:2.1.4
4+
5+
RUN apk update --no-cache && \
6+
apk add build-base git nodejs yarn tzdata bash sqlite-dev && \
7+
mkdir -p /app
8+
9+
WORKDIR /app
10+
11+
COPY ./lib/ /app/lib/
12+
COPY matestack-ui-core.gemspec /app/
13+
COPY Gemfile* /app/
14+
RUN bundle install
15+
16+
COPY package.json yarn* /app/
17+
RUN yarn install

Dockerfile.test

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
FROM ruby:2.6.5-alpine3.9
2+
3+
RUN gem install bundler:2.1.4
4+
5+
RUN apk update --no-cache && \
6+
apk add build-base git nodejs yarn tzdata bash sqlite-dev && \
7+
mkdir -p /app
8+
9+
WORKDIR /app
10+
11+
COPY ./lib/ /app/lib/
12+
COPY matestack-ui-core.gemspec /app/
13+
COPY Gemfile* /app/
14+
RUN bundle install
15+
16+
COPY package.json yarn* /app/
17+
RUN yarn install
18+
19+
RUN apk update && apk upgrade \
20+
&& echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
21+
&& echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories \
22+
&& apk add --no-cache \
23+
chromium@edge=72.0.3626.121-r0 \
24+
nss@edge \
25+
&& rm -rf /var/lib/apt/lists/* \
26+
/var/cache/apk/* \
27+
/usr/share/man \
28+
/tmp/*
29+
30+
RUN apk add chromium-chromedriver@edge=72.0.3626.121-r0
31+
32+
ENV CHROME_BIN=/usr/bin/chromium-browser \
33+
CHROME_PATH=/usr/lib/chromium/

Gemfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ gemspec
1111
# Git. Remember to move these dependencies to your gemspec before releasing
1212
# your gem to rubygems.org.
1313

14-
# To use a debugger
15-
# gem 'byebug', group: [:development, :test]
16-
# gem 'pry-byebug', group: [:development, :test]
17-
1814
gem "trailblazer"
1915
gem "trailblazer-rails"
2016
gem "trailblazer-cells"
@@ -24,17 +20,20 @@ gem "cells-haml"
2420
group :development, :test do
2521
gem 'rspec-rails', '~> 3.8'
2622
gem 'capybara'
27-
gem 'webpacker', '~> 3.5'
23+
gem 'webpacker', '~> 4.0'
2824
gem 'sqlite3', '~> 1.3.13'
29-
gem 'selenium-webdriver'
30-
gem 'poltergeist'
25+
gem 'selenium-webdriver', '~> 3.142', '>= 3.142.7'
3126
gem 'puma'
3227
gem 'simplecov', require: false, group: :test
3328
gem 'byebug'
29+
gem 'pry-byebug'
3430
gem 'webmock'
35-
gem 'webdrivers', '~> 4.1'
31+
gem 'pry-rails'
32+
gem 'pry-byebug'
3633
end
3734

3835
group :test do
3936
gem "generator_spec"
37+
gem "rspec-retry" # repeating flaky tests
38+
gem "rspec-wait", "~> 0.0.9"
4039
end

0 commit comments

Comments
 (0)