Issue 18: Added a popup to modify table columns (#31)
Added a new popup to modify the columns of the table. With this new popup, the user can: - Show and hide columns - Move columns around - Add new columns which are derived from the value of an expression - Delete columns Also got the overlay mechanisms working.
This commit is contained in:
parent
f373a3313a
commit
982d3a9ca7
36 changed files with 1050 additions and 166 deletions
|
|
@ -8,6 +8,10 @@ import (
|
|||
)
|
||||
|
||||
func (a *astLiteralValue) dynamoValue() (types.AttributeValue, error) {
|
||||
if a == nil {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
s, err := strconv.Unquote(a.StringVal)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "cannot unquote string")
|
||||
|
|
@ -16,6 +20,10 @@ func (a *astLiteralValue) dynamoValue() (types.AttributeValue, error) {
|
|||
}
|
||||
|
||||
func (a *astLiteralValue) goValue() (any, error) {
|
||||
if a == nil {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
s, err := strconv.Unquote(a.StringVal)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "cannot unquote string")
|
||||
|
|
@ -24,5 +32,8 @@ func (a *astLiteralValue) goValue() (any, error) {
|
|||
}
|
||||
|
||||
func (a *astLiteralValue) String() string {
|
||||
if a == nil {
|
||||
return ""
|
||||
}
|
||||
return a.StringVal
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue