Compare commits
No commits in common. "24f5ee1dcccd1d57547c9f42e4783d18670a2bbb" and "0910153685d3ce077906edede88f9b667f9fdb45" have entirely different histories.
24f5ee1dcc
...
0910153685
|
@ -5,12 +5,6 @@ All notable changes to wuttaweb will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## v0.13.1 (2024-08-26)
|
|
||||||
|
|
||||||
### Fix
|
|
||||||
|
|
||||||
- allow custom base template to add params to feedback form
|
|
||||||
|
|
||||||
## v0.13.0 (2024-08-26)
|
## v0.13.0 (2024-08-26)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|
|
@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "WuttaWeb"
|
name = "WuttaWeb"
|
||||||
version = "0.13.1"
|
version = "0.13.0"
|
||||||
description = "Web App for Wutta Framework"
|
description = "Web App for Wutta Framework"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||||
|
|
|
@ -526,21 +526,16 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getParams() {
|
sendFeedback() {
|
||||||
return {
|
this.sendingFeedback = true
|
||||||
|
|
||||||
|
const params = {
|
||||||
referrer: this.referrer,
|
referrer: this.referrer,
|
||||||
user_uuid: this.userUUID,
|
user_uuid: this.userUUID,
|
||||||
user_name: this.userName,
|
user_name: this.userName,
|
||||||
message: this.message.trim(),
|
message: this.message.trim(),
|
||||||
...this.getExtraParams(),
|
|
||||||
}
|
}
|
||||||
},
|
|
||||||
|
|
||||||
getExtraParams() {},
|
|
||||||
|
|
||||||
sendFeedback() {
|
|
||||||
this.sendingFeedback = true
|
|
||||||
const params = this.getParams()
|
|
||||||
this.wuttaPOST(this.action, params, response => {
|
this.wuttaPOST(this.action, params, response => {
|
||||||
|
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
|
|
Loading…
Reference in a new issue