Move module to git.zacharyzhang.com; drop GitHub workflow and links
This commit is contained in:
1151 files changed
+2884
-2951
No files matched your search
+2
-2
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// AvatarOptions configure an Avatar.
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// AvatarItem is one person of an AvatarGroup.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
var avatarGroupPeople = []AvatarItem{
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func TestAvatarInitials(t *testing.T) {
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// BadgeTone is a badge's emphasis. The zero value is BadgeAccent.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func TestBadgeText(t *testing.T) {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/display"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/display"
|
||||
)
|
||||
|
||||
func ExampleText() {
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@ package display
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// HeadingOptions configure a Heading; zero is level 1.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func headingHeights(t *testing.T, p ui.Preferences) (h1, h2, h3 float32) {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal/snaptest"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal/snaptest"
|
||||
)
|
||||
|
||||
// snapshot compares view in both themes with testdata/snapshots/<os>/<name>-<mode>.png.
|
||||
|
||||
+3
-3
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// IconTone is an icon's semantic color; zero inherits text color.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func TestIconSizeAndLabel(t *testing.T) {
|
||||
|
||||
+3
-3
@@ -5,9 +5,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// ImageOptions configure an Image.
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
func TestImageErrorTextNeedsRoom(t *testing.T) {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func imageTestBitmap() *ui.Bitmap {
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// Kbd shows keys as caps; "Mod" is Command or Ctrl.
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func TestKbdKeyPlatforms(t *testing.T) {
|
||||
|
||||
+3
-3
@@ -7,9 +7,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// LinkOptions configure a Link; empty URL means in-app action.
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func TestLinkOpensURL(t *testing.T) {
|
||||
|
||||
+3
-3
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// TagOptions configure a Tag; zero is a plain label.
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
type tagCounts struct{ clicked, closed int }
|
||||
|
||||
+3
-3
@@ -5,9 +5,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// TextOptions configure a Text. The zero value wraps every line.
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
func TestTextSelectAndCopy(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user